Commit 2059fa83 authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent adbafb64
...@@ -1230,8 +1230,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): ...@@ -1230,8 +1230,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
append_node = ExprNodes.ComprehensionAppendNode( append_node = ExprNodes.ComprehensionAppendNode(
yield_node.pos, yield_node.pos,
expr = yield_expression, expr = yield_expression,
target = ExprNodes.CloneNode(target_node), target = ExprNodes.CloneNode(target_node))
is_temp = 1) # FIXME: why is this an ExprNode?
Visitor.recursively_replace_node(loop_node, yield_node, append_node) Visitor.recursively_replace_node(loop_node, yield_node, append_node)
...@@ -1272,8 +1271,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): ...@@ -1272,8 +1271,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
yield_node.pos, yield_node.pos,
key_expr = yield_expression.args[0], key_expr = yield_expression.args[0],
value_expr = yield_expression.args[1], value_expr = yield_expression.args[1],
target = ExprNodes.CloneNode(target_node), target = ExprNodes.CloneNode(target_node))
is_temp = 1) # FIXME: why is this an ExprNode?
Visitor.recursively_replace_node(loop_node, yield_node, append_node) Visitor.recursively_replace_node(loop_node, yield_node, append_node)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment