Update typing_extensions stubs for v4.8.0 (#10726)

This commit is contained in:
Alex Waygood
2023-09-18 11:30:28 +01:00
committed by GitHub
parent 1053e923cd
commit 8597724ac1
7 changed files with 8 additions and 29 deletions

View File

@@ -149,6 +149,7 @@ __all__ = [
"Collection",
"Container",
"Dict",
"Doc",
"ForwardRef",
"FrozenSet",
"Generator",
@@ -489,3 +490,9 @@ if sys.version_info >= (3, 13):
else:
def is_protocol(__tp: type) -> bool: ...
def get_protocol_members(__tp: type) -> frozenset[str]: ...
class Doc:
documentation: str
def __init__(self, __documentation: str) -> None: ...
def __hash__(self) -> int: ...
def __eq__(self, other: object) -> bool: ...