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:
Fred Drake 2002-10-07 16:28:38 +00:00
parent fed2405cb5
commit 74653820e3
1 changed files with 5 additions and 4 deletions

View File

@ -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}