From: Stefan Behnel Date: Fri, 28 May 2010 08:33:53 +0000 (+0200) Subject: cleanup X-Git-Tag: 0.13.beta0~2^2~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2059fa831451a723611eb9b73f294d05287014e7;p=cython.git cleanup --- diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index f0c79389..8ab5f8e3 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -1230,8 +1230,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): append_node = ExprNodes.ComprehensionAppendNode( yield_node.pos, expr = yield_expression, - target = ExprNodes.CloneNode(target_node), - is_temp = 1) # FIXME: why is this an ExprNode? + target = ExprNodes.CloneNode(target_node)) Visitor.recursively_replace_node(loop_node, yield_node, append_node) @@ -1272,8 +1271,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): yield_node.pos, key_expr = yield_expression.args[0], value_expr = yield_expression.args[1], - target = ExprNodes.CloneNode(target_node), - is_temp = 1) # FIXME: why is this an ExprNode? + target = ExprNodes.CloneNode(target_node)) Visitor.recursively_replace_node(loop_node, yield_node, append_node)