From 56c8cbb3147f38065f4a8ebba4bb37e7e86c2b12 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Fri, 3 Jun 2022 00:26:41 -0700 Subject: [PATCH] Add GenericAlias.__typing_unpacked_tuple_args__ (#8015) Fixes #8014 python/cpython#92484 --- stdlib/types.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/types.pyi b/stdlib/types.pyi index f6d346b53..96d248fed 100644 --- a/stdlib/types.pyi +++ b/stdlib/types.pyi @@ -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