Lambdas are generated inside GeneratorDefNode while inner functions in GeneratorBodyD...
authorVitja Makarov <vitja.makarov@gmail.com>
Sat, 29 Jan 2011 12:03:28 +0000 (15:03 +0300)
committerVitja Makarov <vitja.makarov@gmail.com>
Sat, 29 Jan 2011 12:03:28 +0000 (15:03 +0300)
Cython/Compiler/Nodes.py

index 824d9f9c167489bc8145b6c1454318ff62ecdc5c..128fefe03d96cb9f3e72bc71b3681445ddb4d025 100644 (file)
@@ -2983,8 +2983,6 @@ class GeneratorBodyDefNode(DefNode):
 
         # Generate closure function definitions
         self.body.generate_function_definitions(lenv, code)
-        # generate lambda function definitions
-        self.generate_lambda_definitions(lenv, code)
 
         # Generate C code for header and body of function
         code.enter_cfunc_scope()