From: Stefan Behnel Date: Sun, 9 May 2010 17:51:30 +0000 (+0200) Subject: removed outdated comment X-Git-Tag: 0.13.beta0~2^2~71 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51d302f5941c2ec01907e96e671d0ed572e32772;p=cython.git removed outdated comment --- diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 2ff226e5..23f9e608 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -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,