From: Craig Citro Date: Wed, 30 Dec 2009 07:09:22 +0000 (-0800) Subject: Fix error in tree traversal in Nodes.py. X-Git-Tag: 0.13.beta0~2^2~104^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46b3a2aa327a55bd154517bd791be62fb07e33c5;p=cython.git Fix error in tree traversal in Nodes.py. --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 9b962c01..1ee0ce13 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -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)