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:
Jeremy Hylton 2001-01-25 20:12:27 +00:00
parent 4588c78faf
commit 619eea6821
3 changed files with 18 additions and 1 deletions

View file

@ -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