From 3f34de4e709170d6481f88f61037baddde0e5370 Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Sat, 29 Jan 2011 15:03:28 +0300 Subject: [PATCH] Lambdas are generated inside GeneratorDefNode while inner functions in GeneratorBodyDefNode --- Cython/Compiler/Nodes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 824d9f9c..128fefe0 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -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() -- 2.26.2