From: Neil Schemenauer Date: Fri, 21 Oct 2005 18:09:19 +0000 (+0000) Subject: Use as the function name for lambdas (matches old compiler). X-Git-Tag: v2.5a0~1250 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccd19218bccd70c13c4860d807a713f1dcd59b35;p=thirdparty%2FPython%2Fcpython.git Use as the function name for lambdas (matches old compiler). --- diff --git a/Python/compile.c b/Python/compile.c index 47c57f48e187..a883f5f7c38e 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;