Played contortionist games with the argument_list production so it

might be easier to understand.
This relates to SF bug #493243, which will be closed.
This commit is contained in:
Fred Drake 2002-06-18 18:42:01 +00:00
parent c01b350d36
commit 074712112b

View file

@ -422,10 +422,10 @@ 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}
\productioncont{ ["," "*" \token{expression} ["," "**" \token{expression}]]]} ["," "*" \token{expression} ["," "**" \token{expression}]]]}
\productioncont{| \token{keyword_arguments} ["," "*" \token{expression}} \productioncont{| \token{keyword_arguments} ["," "*" \token{expression}
\productioncont{ ["," "**" \token{expression}]]} ["," "**" \token{expression}]]}
\productioncont{| "*" \token{expression} ["," "**" \token{expression}]} \productioncont{| "*" \token{expression} ["," "**" \token{expression}]}
\productioncont{| "**" \token{expression}} \productioncont{| "**" \token{expression}}
\production{positional_arguments} \production{positional_arguments}