Skip to content
Snippets Groups Projects
Commit dd43f629 authored by Ian Cordasco's avatar Ian Cordasco Committed by GitHub
Browse files

Merge pull request #48 from degustaf/patch-1

Make signatures of default method match
parents 6a7aa34d 77952e5a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -160,11 +160,11 @@ class PathGraphingAstVisitor(ASTVisitor):
name = "Stmt %d" % lineno
self.appendPathNode(name)
 
def default(self, node):
def default(self, node, *args):
if isinstance(node, ast.stmt):
self.visitSimpleStatement(node)
else:
super(PathGraphingAstVisitor, self).default(node)
super(PathGraphingAstVisitor, self).default(node, *args)
 
def visitLoop(self, node):
name = "Loop %d" % node.lineno
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment