summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2005-10-21 18:09:19 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2005-10-21 18:09:19 (GMT)
commitccd19218bccd70c13c4860d807a713f1dcd59b35 (patch)
treed959ef8eec583bba456fd4a83dcc74f513290aeb
parentec97a28b60b40d366379d22876baebcdd06a89ad (diff)
downloadcpython-ccd19218bccd70c13c4860d807a713f1dcd59b35.zip
cpython-ccd19218bccd70c13c4860d807a713f1dcd59b35.tar.gz
cpython-ccd19218bccd70c13c4860d807a713f1dcd59b35.tar.bz2
Use <lamba> as the function name for lambdas (matches old compiler).
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
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("<lambda>");
if (!name)
return 0;