From ccd19218bccd70c13c4860d807a713f1dcd59b35 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Fri, 21 Oct 2005 18:09:19 +0000 Subject: Use as the function name for lambdas (matches old compiler). --- Python/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/compile.c b/Python/compile.c index 47c57f4..a883f5f 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1961,7 +1961,7 @@ compiler_lambda(struct compiler *c, expr_ty e) arguments_ty args = e->v.Lambda.args; assert(e->kind == Lambda_kind); - name = PyString_InternFromString("lambda"); + name = PyString_InternFromString(""); if (!name) return 0; -- cgit v0.12