mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
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
1 changed files with 5 additions and 4 deletions
|
|
@ -422,10 +422,11 @@ series of arguments:
|
|||
\production{call}
|
||||
{\token{primary} "(" [\token{argument_list} [","]] ")"}
|
||||
\production{argument_list}
|
||||
{\token{positional_arguments} ["," \token{keyword_arguments}]
|
||||
["," "*" \token{expression}] ["," "**" \token{expression}]}
|
||||
\productioncont{| \token{keyword_arguments} ["," "*" \token{expression}]
|
||||
["," "**" \token{expression}]}
|
||||
{\token{positional_arguments} ["," \token{keyword_arguments}]}
|
||||
\productioncont{ ["," "*" \token{expression}]}
|
||||
\productioncont{ ["," "**" \token{expression}]}
|
||||
\productioncont{| \token{keyword_arguments} ["," "*" \token{expression}]}
|
||||
\productioncont{ ["," "**" \token{expression}]}
|
||||
\productioncont{| "*" \token{expression} ["," "**" \token{expression}]}
|
||||
\productioncont{| "**" \token{expression}}
|
||||
\production{positional_arguments}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue