]> granicus.if.org Git - python/commitdiff
fix previous checkin
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 28 Mar 2000 23:53:22 +0000 (23:53 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 28 Mar 2000 23:53:22 +0000 (23:53 +0000)
Lib/test/output/test_extcall
Lib/test/output/test_grammar
Lib/test/test_extcall.py

index 9a5fb3712b6c2e6f70cb23c65d30b8d55c90d7d6..f4369b5dad44dbf01d48a79d6f26acdde8dfd2f1 100644 (file)
@@ -4,6 +4,8 @@ test_extcall
 (1, 2) {}
 (1, 2, 3) {}
 (1, 2, 3, 4, 5) {}
+(1, 2, 3, 4, 5) {}
+(1, 2, 3, 4, 5) {}
 (1, 2, 3) {'b': 5, 'a': 4}
 (1, 2, 3, 4, 5) {'b': 7, 'a': 6}
 (1, 2, 3, 6, 7) {'y': 5, 'b': 9, 'x': 4, 'a': 8}
@@ -16,3 +18,8 @@ TypeError: not enough arguments; expected 1, got 0
 1 (2, 3, 4, 5) {}
 keyword parameter redefined: x
 keyword parameter redefined: b
+keywords must be strings
+unexpected keyword argument: e
+* argument must be a sequence
+** argument must be a dictionary
+3 512 1
index ba0143d2f0918e755e20e2b48b09382842b3cd16..1926e4d6f76318ea61f1238fa594edb0a2c9ccec 100644 (file)
@@ -42,29 +42,6 @@ additive ops
 multiplicative ops
 unary ops
 selectors
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
-.
 
 atoms
 classdef
index 422cceadd69f6ec3a50d8d6f89f4f250d7173544..9b5994d3c9c03d2feff2fb6fe6d4b03ecc64cf31 100644 (file)
@@ -16,7 +16,7 @@ f(1, 2, 3)
 
 f(1, 2, 3, *(4, 5))
 f(1, 2, 3, *[4, 5])
-f(1, 2, 3, *UserList([4, 5])
+f(1, 2, 3, *UserList([4, 5]))
 f(1, 2, 3, **{'a':4, 'b':5})
 f(1, 2, 3, *(4, 5), **{'a':6, 'b':7})
 f(1, 2, 3, x=4, y=5, *(6, 7), **{'a':8, 'b':9})