projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6662537
)
removed dead code
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 8 May 2010 15:59:29 +0000
(17:59 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 8 May 2010 15:59:29 +0000
(17:59 +0200)
Cython/Compiler/ParseTreeTransforms.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ParseTreeTransforms.py
b/Cython/Compiler/ParseTreeTransforms.py
index 6d9f8e69ccaef3a3a359be245291ffe069d09c68..61b0ec68eec09348c0f2620edcdbf7670d3cc78d 100644
(file)
--- a/
Cython/Compiler/ParseTreeTransforms.py
+++ b/
Cython/Compiler/ParseTreeTransforms.py
@@
-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.