Commit 6f693875 authored by Stefan Behnel's avatar Stefan Behnel

removed dead code

parent 6662537b
...@@ -1205,10 +1205,8 @@ class MarkClosureVisitor(CythonTransform): ...@@ -1205,10 +1205,8 @@ class MarkClosureVisitor(CythonTransform):
self.visitchildren(node) self.visitchildren(node)
self.needs_closure = True self.needs_closure = True
return node return node
def visit_YieldNode(self, node):
self.needs_closure = True
class CreateClosureClasses(CythonTransform): class CreateClosureClasses(CythonTransform):
# Output closure classes in module scope for all functions # Output closure classes in module scope for all functions
# that need it. # that need it.
......
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