From: Vitja Makarov Date: Sun, 9 Jan 2011 09:44:46 +0000 (+0300) Subject: Oops, Remove commented lines X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7970cad90ef1772b12bf0852d4b7d2378e50553e;p=cython.git Oops, Remove commented lines --- diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index 2a97619e..dd038388 100644 --- 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,