PyDocs

Nav

Development Tools

TypeAliasType.__module__

typing

attribute of TypeAliasType
The name of the module in which the type alias was defined:
Changed in 3.15
  • 3.15: The attribute is now writable.
1 Example
>>> type Alias = int
>>> Alias.__module__
'__main__'
from the Python docs
See Also
No see-alsos for typing/TypeAliasType.__module__
0 Notes
No notes for TypeAliasType.__module__