projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21bcbe
)
Oops, Remove commented lines
author
Vitja Makarov
<vitja.makarov@gmail.com>
Sun, 9 Jan 2011 09:44:46 +0000
(12:44 +0300)
committer
Vitja Makarov
<vitja.makarov@gmail.com>
Sun, 9 Jan 2011 09:44:46 +0000
(12:44 +0300)
Cython/Compiler/ParseTreeTransforms.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ParseTreeTransforms.py
b/Cython/Compiler/ParseTreeTransforms.py
index 2a97619ea9f8a9b98027f68bd643761e5a4fb633..dd038388204137428db27e9410908195277273cf 100644
(file)
--- a/
Cython/Compiler/ParseTreeTransforms.py
+++ b/
Cython/Compiler/ParseTreeTransforms.py
@@
-1370,9
+1370,6
@@
class MarkClosureVisitor(CythonTransform):
collector.visitchildren(node)
if collector.yields:
- #if collector.returns and not collector.has_return_value:
- # error(collector.returns[0].pos, "'return' inside generators not yet supported ")
-
gbody = Nodes.GeneratorBodyDefNode(pos=node.pos,
name=node.name,
body=node.body,