Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 003663d

Browse files
committed
fix previous checkin
1 parent aed0d8d commit 003663d

3 files changed

Lines changed: 8 additions & 24 deletions

File tree

Lib/test/output/test_extcall

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ test_extcall
44
(1, 2) {}
55
(1, 2, 3) {}
66
(1, 2, 3, 4, 5) {}
7+
(1, 2, 3, 4, 5) {}
8+
(1, 2, 3, 4, 5) {}
79
(1, 2, 3) {'b': 5, 'a': 4}
810
(1, 2, 3, 4, 5) {'b': 7, 'a': 6}
911
(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
1618
1 (2, 3, 4, 5) {}
1719
keyword parameter redefined: x
1820
keyword parameter redefined: b
21+
keywords must be strings
22+
unexpected keyword argument: e
23+
* argument must be a sequence
24+
** argument must be a dictionary
25+
3 512 1

Lib/test/output/test_grammar

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,6 @@ additive ops
4242
multiplicative ops
4343
unary ops
4444
selectors
45-
.
46-
.
47-
.
48-
.
49-
.
50-
.
51-
.
52-
.
53-
.
54-
.
55-
.
56-
.
57-
.
58-
.
59-
.
60-
.
61-
.
62-
.
63-
.
64-
.
65-
.
66-
.
67-
.
6845

6946
atoms
7047
classdef

Lib/test/test_extcall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def h(j=1, a=2, h=3):
1616

1717
f(1, 2, 3, *(4, 5))
1818
f(1, 2, 3, *[4, 5])
19-
f(1, 2, 3, *UserList([4, 5])
19+
f(1, 2, 3, *UserList([4, 5]))
2020
f(1, 2, 3, **{'a':4, 'b':5})
2121
f(1, 2, 3, *(4, 5), **{'a':6, 'b':7})
2222
f(1, 2, 3, x=4, y=5, *(6, 7), **{'a':8, 'b':9})

0 commit comments

Comments
 (0)