mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
Add GenericAlias.__unpacked__ (#7774)
This commit is contained in:
1 parent
ef878e925f
commit
b1ccd03d51
1 file changed
+4
@@ -651,6 +651,10 @@ if sys.version_info >= (3, 9):
|
||||
@property
|
||||
def __parameters__(self) -> tuple[Any, ...]: ...
|
||||
def __init__(self, origin: type, args: Any) -> None: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
@property
|
||||
def __unpacked__(self) -> bool: ...
|
||||
|
||||
def __getattr__(self, name: str) -> Any: ... # incomplete
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
|
||||
Reference in new issue
Block a user