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
1 changed files with 4 additions and 4 deletions

View File

@ -422,10 +422,10 @@ series of arguments:
\production{call}
{\token{primary} "(" [\token{argument_list} [","]] ")"}
\production{argument_list}
{\token{positional_arguments} ["," \token{keyword_arguments}}
\productioncont{ ["," "*" \token{expression} ["," "**" \token{expression}]]]}
\productioncont{| \token{keyword_arguments} ["," "*" \token{expression}}
\productioncont{ ["," "**" \token{expression}]]}
{\token{positional_arguments} ["," \token{keyword_arguments}
["," "*" \token{expression} ["," "**" \token{expression}]]]}
\productioncont{| \token{keyword_arguments} ["," "*" \token{expression}
["," "**" \token{expression}]]}
\productioncont{| "*" \token{expression} ["," "**" \token{expression}]}
\productioncont{| "**" \token{expression}}
\production{positional_arguments}