✏️ 正在编辑: _typing_compat.pyi
路径:
/opt/cloudlinux/venv/lib/python3.11/site-packages/attr/_typing_compat.pyi
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
from typing import Any, ClassVar, Protocol # MYPY is a special constant in mypy which works the same way as `TYPE_CHECKING`. MYPY = False if MYPY: # A protocol to be able to statically accept an attrs class. class AttrsInstance_(Protocol): __attrs_attrs__: ClassVar[Any] else: # For type checkers without plug-in support use an empty protocol that # will (hopefully) be combined into a union. class AttrsInstance_(Protocol): pass
💾 保存文件
← 返回文件管理器