add types.GenericAlias.__mro_entries__ (#13284)

This commit is contained in:
Stephen Morton
2025-01-15 06:36:02 -08:00
committed by GitHub
parent 101287091c
commit 578af27510
2 changed files with 1 additions and 1 deletions

View File

@@ -459,7 +459,6 @@ turtle.ScrolledCanvas.select_item # Dynamically created, has unnecessary *args
types.GenericAlias.__call__ # Would be complicated to fix properly, Any could silence problems. #6392
types.GenericAlias.__getattr__
types.GenericAlias.__mro_entries__
typing.type_check_only # typing decorator that is not available at runtime

View File

@@ -640,6 +640,7 @@ if sys.version_info >= (3, 9):
def __getitem__(self, typeargs: Any, /) -> GenericAlias: ...
def __eq__(self, value: object, /) -> bool: ...
def __hash__(self) -> int: ...
def __mro_entries__(self, bases: Iterable[object], /) -> tuple[type, ...]: ...
if sys.version_info >= (3, 11):
@property
def __unpacked__(self) -> bool: ...