class Module: (source)
Represents a parsed module. Attributes: module_name: The module name, e.g. "numpy.fft.fftpack". filename: The filename of the pytd that describes the module. Needs to be unique. Will be in one of the following formats: - "pytd:{module_name}" for pytd files that ship with pytype. - "pytd:{filename}" for pyi files that ship with typeshed. - "{filename}" for other pyi files. ast: The parsed PyTD. Internal references will be resolved, but NamedType nodes referencing other modules might still be unresolved. pickle: The AST as a pickled string. As long as this field is not None, the ast will be None. has_unresolved_pointers: Whether all ClassType pointers have been filled in metadata: The metadata extracted from the picked file.
Class Method | resolved |
Undocumented |
Method | __init__ |
Undocumented |
Method | is |
Undocumented |
Method | needs |
Undocumented |
Instance Variable | ast |
Undocumented |
Instance Variable | filename |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | metadata |
Undocumented |
Instance Variable | module |
Undocumented |
Instance Variable | pickle |
Undocumented |