From 51d302f5941c2ec01907e96e671d0ed572e32772 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 9 May 2010 19:51:30 +0200 Subject: [PATCH] removed outdated comment --- Cython/Compiler/Optimize.py | 6 ------ 1 file changed, 6 deletions(-) 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, -- 2.26.2