]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Played contortionist games with the argument_list production so it
authorFred Drake <fdrake@acm.org>
Tue, 18 Jun 2002 18:42:01 +0000 (18:42 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 18 Jun 2002 18:42:01 +0000 (18:42 +0000)
might be easier to understand.
This relates to SF bug #493243, which will be closed.

Doc/ref/ref5.tex

index bcd1f262cc3a8e898e86fdae87eb51c7b7d19b6d..2a49ebd5bb03bee689c1d266156db15eada4e961 100644 (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}