We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 762b86d commit e32392cCopy full SHA for e32392c
pytype/stubs/builtins/typing.pytd
@@ -655,7 +655,6 @@ class ParamSpecArgs: ...
655
class ParamSpecKwargs: ...
656
657
class TypeGuard(bool, Generic[_T]): ...
658
-class TypeIs(bool, Generic[_T]): ...
659
660
def is_typeddict(tp) -> bool: ...
661
@@ -695,3 +694,12 @@ class TypeAliasType:
695
694
def __getitem__(self, parameters: Any) -> Any: ...
696
def __or__(self, right: Any) -> Any: ...
697
def __ror__(self, left: Any) -> Any: ...
+
698
+# Python 3.13
699
700
+def is_protocol(tp: type, /) -> bool: ...
701
+def get_protocol_members(tp: type, /) -> frozenset[str]: ...
702
+class _NoDefaultType: ...
703
+NoDefault: _NoDefaultType
704
+class TypeIs(bool, Generic[_T]): ...
705
+ReadOnly: Any
0 commit comments