Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab541bb

Browse files
committed
Revert change, func_name of lambda's is back to <lambda>.
1 parent ccd1921 commit ab541bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_repr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_file(self):
123123

124124
def test_lambda(self):
125125
self.failUnless(repr(lambda x: x).startswith(
126-
"<function lambda"))
126+
"<function <lambda"))
127127
# XXX anonymous functions? see func_repr
128128

129129
def test_builtin_function(self):

0 commit comments

Comments
 (0)