removed outdated comment
authorStefan Behnel <scoder@users.berlios.de>
Sun, 9 May 2010 17:51:30 +0000 (19:51 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 9 May 2010 17:51:30 +0000 (19:51 +0200)
Cython/Compiler/Optimize.py

index 2ff226e53aa275e4c16abb4b211db7abc2d1fea0..23f9e6088f671acb35d45fa981b1999d81a17e6b 100644 (file)
@@ -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,