mirror of
https://github.com/python/cpython.git
synced 2025-09-12 03:37:09 +00:00
Revert change, func_name of lambda's is back to <lambda>.
This commit is contained in:
parent
ccd19218bc
commit
ab541bb98e
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class ReprTests(unittest.TestCase):
|
||||||
|
|
||||||
def test_lambda(self):
|
def test_lambda(self):
|
||||||
self.failUnless(repr(lambda x: x).startswith(
|
self.failUnless(repr(lambda x: x).startswith(
|
||||||
"<function lambda"))
|
"<function <lambda"))
|
||||||
# XXX anonymous functions? see func_repr
|
# XXX anonymous functions? see func_repr
|
||||||
|
|
||||||
def test_builtin_function(self):
|
def test_builtin_function(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue