Add GenericAlias.__typing_unpacked_tuple_args__ (#8015)

Fixes #8014 

python/cpython#92484
This commit is contained in:
Jelle Zijlstra
2022-06-03 00:26:41 -07:00
committed by GitHub
parent acc0167dc1
commit 56c8cbb314

View File

@@ -731,6 +731,8 @@ if sys.version_info >= (3, 9):
if sys.version_info >= (3, 11):
@property
def __unpacked__(self) -> bool: ...
@property
def __typing_unpacked_tuple_args__(self) -> tuple[Any, ...] | None: ...
def __getattr__(self, name: str) -> Any: ... # incomplete