2000-03-28 19:51:17 -04:00
|
|
|
test_extcall
|
|
|
|
() {}
|
|
|
|
(1,) {}
|
|
|
|
(1, 2) {}
|
|
|
|
(1, 2, 3) {}
|
|
|
|
(1, 2, 3, 4, 5) {}
|
2000-03-28 19:53:22 -04:00
|
|
|
(1, 2, 3, 4, 5) {}
|
|
|
|
(1, 2, 3, 4, 5) {}
|
2000-03-28 19:51:17 -04:00
|
|
|
(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}
|
2000-10-24 16:57:45 -03:00
|
|
|
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
|
2000-03-28 19:51:17 -04:00
|
|
|
1 () {}
|
|
|
|
1 (2,) {}
|
|
|
|
1 (2, 3) {}
|
|
|
|
1 (2, 3, 4, 5) {}
|
2000-03-30 19:55:31 -04:00
|
|
|
0 (1, 2) {}
|
|
|
|
1 () {'d': 4, 'b': 2, 'c': 3, 'a': 1}
|
|
|
|
{'b': 2, 'c': 3, 'a': 1}
|
|
|
|
{'b': 2, 'c': 3, 'a': 1}
|
2000-10-24 16:57:45 -03:00
|
|
|
keyword parameter 'x' redefined in call to g()
|
|
|
|
keyword parameter 'b' redefined in function call
|
2000-03-28 19:53:22 -04:00
|
|
|
keywords must be strings
|
2000-10-24 16:57:45 -03:00
|
|
|
h() got an unexpected keyword argument 'e'
|
2000-03-28 19:53:22 -04:00
|
|
|
* argument must be a sequence
|
|
|
|
** argument must be a dictionary
|
|
|
|
3 512 1
|
2000-10-30 15:41:33 -04:00
|
|
|
3
|
|
|
|
3
|
|
|
|
unbound method must be called with instance as first argument
|
|
|
|
unbound method must be called with instance as first argument
|