removed dead code
authorStefan Behnel <scoder@users.berlios.de>
Sat, 8 May 2010 15:59:29 +0000 (17:59 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 8 May 2010 15:59:29 +0000 (17:59 +0200)
Cython/Compiler/ParseTreeTransforms.py

index 6d9f8e69ccaef3a3a359be245291ffe069d09c68..61b0ec68eec09348c0f2620edcdbf7670d3cc78d 100644 (file)
@@ -1205,10 +1205,8 @@ class MarkClosureVisitor(CythonTransform):
         self.visitchildren(node)
         self.needs_closure = True
         return node
-        
-    def visit_YieldNode(self, node):
-        self.needs_closure = True
-        
+
+
 class CreateClosureClasses(CythonTransform):
     # Output closure classes in module scope for all functions
     # that need it.