This commit is contained in:
Tarek Ziade 2012-02-21 13:04:01 +01:00
parent fde77e2168
commit cf16bf82b9
2 changed files with 5 additions and 10 deletions

View file

@ -46,7 +46,7 @@ class ASTVisitor:
"""Do preorder walk of tree using visitor"""
self.visitor = visitor
visitor.visit = self.dispatch
self.dispatch(tree, *args) # XXX *args make sense?
self.dispatch(tree, *args) # XXX *args make sense?
class PathNode: