pylint/pyreverse/inspector.py
def visit_import(self, node):
        """visit an astroid.Import node

        resolve module dependencies
        """
        context_file = node.root().file
        for name in node.names:
            relative = modutils.is_relative(name[0], context_file)
            self._imported_module(node, name[0], relative)
def visit_import(self, node):
        context_file = node.root().file
        for name in node.names:
            relative = modutils.is_relative(name[0], context_file)
            self._imported_module(node, name[0], relative)
def visit_import ( self , node ) : context_file = node . root ( ) . file for name in node . names : relative = modutils . is_relative ( name [ 0 ] , context_file ) self . _imported_module ( node , name [ 0 ] , relative )
visit an astroid.Import node

        resolve module dependencies
visit an astroid . Import node