-
Notifications
You must be signed in to change notification settings - Fork 1
/
arglist.txt
38 lines (33 loc) · 962 Bytes
/
arglist.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
three possibilities:
this: tfpdef ['=' test] (',' tfpdef ['=' test])*
[',' [ '*' [tfpdef] (',' tfpdef ['=' test])* [',' ['**' tfpdef [',']]]
| '**' tfpdef [',']]]
this: dtfpdef (',' dtfpdef)*
[',' [ '*' [tfpdef] (',' dtfpdef)* [',' ['**' tfpdef [',']]]
| '**' tfpdef [',']]]
a=1
a=1, b=2, c=2
a=1, b=2, c=2,
a=1, b=2, c=2, *
a=1, b=2, c=2, *, d=3
a=1, b=2, c=2, *, d=3,
a=1, b=2, c=2, *, d=3, e=4, **ks
a=1, b=2, c=2, *, d=3, e=4, **ks,
a=1, b=2, c=2, *a
a=1, b=2, c=2, *a, d=3, e=4
a=1, b=2, c=2, *a, d=3, e=4,
a=1, b=2, c=2, *a, d=3, e=4, **ks
a=1, b=2, c=2, *a, d=3, e=4, **ks,
a=1, b=2, c=2, **ks
a=1, b=2, c=2, **ks,
orthis: '*' [tfpdef] (',' tfpdef ['=' test])* [',' ['**' tfpdef [',']]]
*
*a
*a,b=1
*a,b=1,c=1
*a,b=1,c=1,
*a,b=1,c=1,**d
*a,b=1,c=1,**d,
orthis: '**' tfpdef [',']
**a
**a,