From 46b3a2aa327a55bd154517bd791be62fb07e33c5 Mon Sep 17 00:00:00 2001 From: Craig Citro Date: Tue, 29 Dec 2009 23:09:22 -0800 Subject: [PATCH] Fix error in tree traversal in Nodes.py. --- Cython/Compiler/Nodes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.26.2