Kaydet (Commit) ccd19218 authored tarafından Neil Schemenauer's avatar Neil Schemenauer

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

üst ec97a28b
......@@ -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("<lambda>");
if (!name)
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