From fa3273c40e088dfc944948670fb13ef798e3dbb6 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 15 Jun 2010 14:36:59 +0200 Subject: [PATCH] fix node traversal in yield expressions --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2