From: Stefan Behnel Date: Tue, 15 Jun 2010 12:36:59 +0000 (+0200) Subject: fix node traversal in yield expressions X-Git-Tag: 0.13.beta0~2^2~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fa3273c40e088dfc944948670fb13ef798e3dbb6;p=cython.git fix node traversal in yield expressions --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index d985cedb..5273419b 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -4497,7 +4497,7 @@ class YieldExprNode(ExprNode): # arg ExprNode the value to return from the generator # label_name string name of the C label used for this yield - subexprs = [] + subexprs = ['arg'] type = py_object_type def analyse_types(self, env):