class documentation

class ImportFromMixin(FilterStmtsMixin): (source)

Known subclasses: astroid.nodes.Import, astroid.nodes.ImportFrom

View In Hierarchy

MixIn for From and Import Nodes
Method do​_import​_module return the ast for a module whose name is <modname> imported by <self>
Method real​_name get name from 'as' name
Method _infer​_name Undocumented

Inherited from FilterStmtsMixin:

Method assign​_type Undocumented
Method _get​_filtered​_stmts method used in _filter_stmts to get statements and trigger break
def do_import_module(self, modname=None): (source)
return the ast for a module whose name is <modname> imported by <self>
def real_name(self, asname): (source)
get name from 'as' name
def _infer_name(self, frame, name): (source)

Undocumented