From: Fred Drake Date: Mon, 7 Oct 2002 16:28:38 +0000 (+0000) Subject: Modified presentation of the grammar for calls to be easier to read X-Git-Tag: v2.3c1~3863 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74653820e3a287853e6f537c9002ebe05a674cdd;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 194d2c82233a..ef6cba904711 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}