class documentation

class ImportBase(Statement): (source)

Known subclasses: mypy.nodes.Import, mypy.nodes.ImportAll, mypy.nodes.ImportFrom

View In Hierarchy

Base class for all import statements.
Method __init__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable assignments Undocumented
Instance Variable is​_mypy​_only Undocumented
Instance Variable is​_top​_level Undocumented
Instance Variable is​_unreachable Undocumented

Inherited from Statement:

Method accept Undocumented

Inherited from Node (via Statement):

Method __str__ Undocumented

Inherited from Context (via Statement, Node):

Method get​_column Don't use. Use x.column.
Method get​_line Don't use. Use x.line.
Method set​_line If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node.
Instance Variable column Undocumented
Instance Variable end​_line Undocumented
Instance Variable line Undocumented
__slots__: tuple[str, ...] = (source)
assignments: list = (source)

Undocumented

is_mypy_only: bool = (source)

Undocumented

is_top_level: bool = (source)

Undocumented

is_unreachable: bool = (source)

Undocumented