PyDocs

Nav

Python Runtime Services

genericalias.__parameters__

builtins

attribute
This attribute is a lazily computed tuple (possibly empty) of unique type variables found in __args__:
1 Example
>>> from typing import TypeVar

>>> T = TypeVar('T')
>>> list[T].__parameters__
(~T,)
from the Python docs
See Also
No see-alsos for builtins/genericalias.__parameters__
0 Notes
No notes for genericalias.__parameters__