diff options
author | Fred Drake <fdrake@acm.org> | 2002-06-18 18:42:01 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-06-18 18:42:01 (GMT) |
commit | 074712112b73bf2adf56c8f031c7789b6cfd290f (patch) | |
tree | 5b625a1f3575abe56e8bea685f4bc2961633d7b2 /Doc/ref/ref5.tex | |
parent | c01b350d36b0f8a6f2f24157b65f71cf5b76c8a8 (diff) | |
download | cpython-074712112b73bf2adf56c8f031c7789b6cfd290f.zip cpython-074712112b73bf2adf56c8f031c7789b6cfd290f.tar.gz cpython-074712112b73bf2adf56c8f031c7789b6cfd290f.tar.bz2 |
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.
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r-- | Doc/ref/ref5.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index bcd1f26..2a49ebd 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -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} |