From: Vitja Makarov Date: Wed, 12 Jan 2011 20:41:01 +0000 (+0300) Subject: Fix cython compilation problem X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3baa597921ad36e4fec30c61ff054dc1481258cf;p=cython.git Fix cython compilation problem --- diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index 4e759632..9ae67468 100644 --- a/Cython/Compiler/ParseTreeTransforms.py +++ b/Cython/Compiler/ParseTreeTransforms.py @@ -1332,7 +1332,8 @@ class YieldNodeCollector(TreeVisitor): self.returns = [] self.has_return_value = False - visit_Node = TreeVisitor.visitchildren + def visit_Node(self, node): + return self.visitchildren(node) def visit_YieldExprNode(self, node): if self.has_return_value: