diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-24 19:57:45 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-24 19:57:45 (GMT) |
commit | 661ea26b3d8621ad0acc0ed2f2036ab29355f8ff (patch) | |
tree | fcfe10c4656a3e18911cd3b41b7d8c942d707786 /Lib/test/output | |
parent | bd6f4fba1bc66a18cc15d50ffdd33faedff5ac4c (diff) | |
download | cpython-661ea26b3d8621ad0acc0ed2f2036ab29355f8ff.zip cpython-661ea26b3d8621ad0acc0ed2f2036ab29355f8ff.tar.gz cpython-661ea26b3d8621ad0acc0ed2f2036ab29355f8ff.tar.bz2 |
Ka-Ping Yee <ping@lfw.org>:
Changes to error messages to increase consistency & clarity.
This (mostly) closes SourceForge patch #101839.
Diffstat (limited to 'Lib/test/output')
-rw-r--r-- | Lib/test/output/test_extcall | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/output/test_extcall b/Lib/test/output/test_extcall index 209ded7..9f4ba43 100644 --- a/Lib/test/output/test_extcall +++ b/Lib/test/output/test_extcall @@ -9,9 +9,9 @@ test_extcall (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} -TypeError: not enough arguments; expected 1, got 0 -TypeError: not enough arguments; expected 1, got 0 -TypeError: not enough arguments; expected 1, got 0 +TypeError: not enough arguments to g(); expected 1, got 0 +TypeError: not enough arguments to g(); expected 1, got 0 +TypeError: not enough arguments to g(); expected 1, got 0 1 () {} 1 (2,) {} 1 (2, 3) {} @@ -20,10 +20,10 @@ TypeError: not enough arguments; expected 1, got 0 1 () {'d': 4, 'b': 2, 'c': 3, 'a': 1} {'b': 2, 'c': 3, 'a': 1} {'b': 2, 'c': 3, 'a': 1} -keyword parameter redefined: x -keyword parameter redefined: b +keyword parameter 'x' redefined in call to g() +keyword parameter 'b' redefined in function call keywords must be strings -unexpected keyword argument: e +h() got an unexpected keyword argument 'e' * argument must be a sequence ** argument must be a dictionary 3 512 1 |