class ImportBase(Statement): (source)
Known subclasses: mypy.nodes.Import
, mypy.nodes.ImportAll
, mypy.nodes.ImportFrom
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 |