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 6246a38 commit bf89ae1Copy full SHA for bf89ae1
stdlib/typing.pyi
@@ -21,7 +21,7 @@ from types import (
21
TracebackType,
22
WrapperDescriptorType,
23
)
24
-from typing_extensions import Never as _Never, ParamSpec as _ParamSpec
+from typing_extensions import Never as _Never, ParamSpec as _ParamSpec, TypeIs as _TypeIs
25
26
if sys.version_info >= (3, 9):
27
from types import GenericAlias
@@ -1013,7 +1013,7 @@ class ForwardRef:
1013
def __ror__(self, other: Any) -> _SpecialForm: ...
1014
1015
if sys.version_info >= (3, 10):
1016
- def is_typeddict(tp: object) -> bool: ...
+ def is_typeddict(tp: object) -> _TypeIs[type[_TypedDict]]: ...
1017
1018
def _type_repr(obj: object) -> str: ...
1019
0 commit comments