]> granicus.if.org Git - python/commitdiff
Modified presentation of the grammar for calls to be easier to read
authorFred Drake <fdrake@acm.org>
Mon, 7 Oct 2002 16:28:38 +0000 (16:28 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 7 Oct 2002 16:28:38 +0000 (16:28 +0000)
for both HTML and typeset renderings.  Corresponds to revision
1.53.4.8 on the r22-maint branch.

Doc/ref/ref5.tex

index 194d2c82233a563ddc1ddecf36aaf5146348dd71..ef6cba904711223977aa9cde0022df3356f4e690 100644 (file)
@@ -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}