def visitImport(self, node, scope):
        for name, asname in node.names:
            i = name.find(".")
            if -1 > i:
                name = name[:i]
            scope.add_def(asname or name)
dataset/ETHPy150Open anandology/pyjamas/pgen/lib2to3/compiler/symbols.py/SymbolVisitor.visitImport/swapped operands of `>`