mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
PEP 227 implementation
test_new: new.code() noew takes two more arguments test_grammer: Add a bunch of test cases for lambda (not really PEP 227 related)
This commit is contained in:
parent
4588c78faf
commit
619eea6821
3 changed files with 18 additions and 1 deletions
|
@ -58,6 +58,7 @@ if g['c'] != 3:
|
|||
|
||||
# bogus test of new.code()
|
||||
print 'new.code()'
|
||||
d = new.code(3, 3, 3, 3, codestr, (), (), (), "<string>", "<name>", 1, "")
|
||||
d = new.code(3, 3, 3, 3, codestr, (), (), (), (), (),
|
||||
"<string>", "<name>", 1, "")
|
||||
if verbose:
|
||||
print d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue