mirror of https://github.com/python/cpython
Modified presentation of the grammar for calls to be easier to read
for both HTML and typeset renderings. Corresponds to revision 1.53.4.8 on the r22-maint branch.
This commit is contained in:
parent
fed2405cb5
commit
74653820e3
|
@ -422,10 +422,11 @@ series of arguments:
|
||||||
\production{call}
|
\production{call}
|
||||||
{\token{primary} "(" [\token{argument_list} [","]] ")"}
|
{\token{primary} "(" [\token{argument_list} [","]] ")"}
|
||||||
\production{argument_list}
|
\production{argument_list}
|
||||||
{\token{positional_arguments} ["," \token{keyword_arguments}]
|
{\token{positional_arguments} ["," \token{keyword_arguments}]}
|
||||||
["," "*" \token{expression}] ["," "**" \token{expression}]}
|
\productioncont{ ["," "*" \token{expression}]}
|
||||||
\productioncont{| \token{keyword_arguments} ["," "*" \token{expression}]
|
\productioncont{ ["," "**" \token{expression}]}
|
||||||
["," "**" \token{expression}]}
|
\productioncont{| \token{keyword_arguments} ["," "*" \token{expression}]}
|
||||||
|
\productioncont{ ["," "**" \token{expression}]}
|
||||||
\productioncont{| "*" \token{expression} ["," "**" \token{expression}]}
|
\productioncont{| "*" \token{expression} ["," "**" \token{expression}]}
|
||||||
\productioncont{| "**" \token{expression}}
|
\productioncont{| "**" \token{expression}}
|
||||||
\production{positional_arguments}
|
\production{positional_arguments}
|
||||||
|
|
Loading…
Reference in New Issue