Commit 51d302f5 authored by Stefan Behnel's avatar Stefan Behnel

removed outdated comment

parent 25987676
......@@ -1148,12 +1148,6 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
else:
condition = ExprNodes.NotNode(yield_expression.pos, operand = yield_expression)
# Transform generator expression into plain for-loop, replace
# yield node in body by assignment of True to the node result,
# set the 'else' branch to a False assignment. Propagate the
# break after the inner assignment by injecting breaks after
# the inner loops, and putting a default 'continue' into their
# 'else' clauses.
test_node = Nodes.IfStatNode(
yield_node.pos,
else_clause = None,
......
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