Commit 46b3a2aa authored by Craig Citro's avatar Craig Citro

Fix error in tree traversal in Nodes.py.

parent 7eca82ec
......@@ -3343,8 +3343,7 @@ class PrintStatNode(StatNode):
self.arg_tuple.free_temps(code)
def generate_function_definitions(self, env, code):
for item in self.arg_tuple:
item.generate_function_definitions(env, code)
self.arg_tuple.generate_function_definitions(env, code)
def annotate(self, code):
self.arg_tuple.annotate(code)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment