Commit 67fdaeef authored by Fred Drake's avatar Fred Drake

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.
parent 5d1ef8fc
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment