class documentation

class ImportFrom(ImportBase): (source)

View In Hierarchy

from m import x [as y], ...
Method __init__ Undocumented
Method accept Undocumented
Class Variable __slots__ Undocumented
Instance Variable id Undocumented
Instance Variable names Undocumented
Instance Variable relative Undocumented

Inherited from ImportBase:

Instance Variable assignments Undocumented
Instance Variable is​_mypy​_only Undocumented
Instance Variable is​_top​_level Undocumented
Instance Variable is​_unreachable Undocumented

Inherited from Node (via ImportBase, Statement):

Method __str__ Undocumented

Inherited from Context (via ImportBase, 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
def __init__(self, id, relative, names): (source)

Undocumented

Parameters
id:strUndocumented
relative:intUndocumented
names:List[Tuple[str, Optional[str]]]Undocumented
def accept(self, visitor): (source)

Undocumented

Parameters
visitor:StatementVisitor[T]Undocumented
Returns
TUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

Undocumented

names = (source)

Undocumented

relative = (source)

Undocumented