summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2005-10-21 18:11:40 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2005-10-21 18:11:40 (GMT)
commitab541bb98e4b0deebc7baaaf6e9e231cd499b77c (patch)
tree4dd6449db7f9829f2e29739b4dba25284e23a822
parentccd19218bccd70c13c4860d807a713f1dcd59b35 (diff)
downloadcpython-ab541bb98e4b0deebc7baaaf6e9e231cd499b77c.zip
cpython-ab541bb98e4b0deebc7baaaf6e9e231cd499b77c.tar.gz
cpython-ab541bb98e4b0deebc7baaaf6e9e231cd499b77c.tar.bz2
Revert change, func_name of lambda's is back to <lambda>.
-rw-r--r--Lib/test/test_repr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py
index a139473..4ded484 100644
--- a/Lib/test/test_repr.py
+++ b/Lib/test/test_repr.py
@@ -123,7 +123,7 @@ class ReprTests(unittest.TestCase):
def test_lambda(self):
self.failUnless(repr(lambda x: x).startswith(
- "<function lambda"))
+ "<function <lambda"))
# XXX anonymous functions? see func_repr
def test_builtin_function(self):