Commit ccd19218 authored by Neil Schemenauer's avatar Neil Schemenauer

Use <lamba> as the function name for lambdas (matches old compiler).

parent ec97a28b
...@@ -1961,7 +1961,7 @@ compiler_lambda(struct compiler *c, expr_ty e) ...@@ -1961,7 +1961,7 @@ compiler_lambda(struct compiler *c, expr_ty e)
arguments_ty args = e->v.Lambda.args; arguments_ty args = e->v.Lambda.args;
assert(e->kind == Lambda_kind); assert(e->kind == Lambda_kind);
name = PyString_InternFromString("lambda"); name = PyString_InternFromString("<lambda>");
if (!name) if (!name)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment