Commit 7970cad9 authored by Vitja Makarov's avatar Vitja Makarov

Oops, Remove commented lines

parent f21bcbec
......@@ -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,
......
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