def visit(self, node):
        method = 'visit_%s' % node.__class__.__name__
        return getattr(self, method, self.generic_visit)(node)
dataset/ETHPy150Open rspivak/slimit/src/slimit/visitors/scopevisitor.py/Visitor.visit/original