diff options
author | Fred Drake <fdrake@acm.org> | 2002-10-07 16:28:38 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-10-07 16:28:38 (GMT) |
commit | 74653820e3a287853e6f537c9002ebe05a674cdd (patch) | |
tree | 2226719e5347fc0e6ac7cf381e1b6bbb96256374 | |
parent | fed2405cb59a23153c42d25f918ceb9e8afe25fc (diff) | |
download | cpython-74653820e3a287853e6f537c9002ebe05a674cdd.zip cpython-74653820e3a287853e6f537c9002ebe05a674cdd.tar.gz cpython-74653820e3a287853e6f537c9002ebe05a674cdd.tar.bz2 |
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.
-rw-r--r-- | Doc/ref/ref5.tex | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 194d2c8..ef6cba9 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -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} |