Definition
A type that can be parameterized; typically a
container class such as list or
dict. Used for type hints and
annotations.
For more details, see generic alias types,
PEP 483, PEP 484, PEP 585, and the typing module.
A type that can be parameterized; typically a
container class such as list or
dict. Used for type hints and
annotations.
For more details, see generic alias types,
PEP 483, PEP 484, PEP 585, and the typing module.