]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#3923: fix undefined token.
authorGeorg Brandl <georg@python.org>
Sun, 21 Sep 2008 17:03:29 +0000 (17:03 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 21 Sep 2008 17:03:29 +0000 (17:03 +0000)
Doc/reference/expressions.rst

index 974c5003d5d2c90a4ea9d5615e3a1191f582b36f..2e921f84e86de9d38c2049ccf4a6e09f48adc6f3 100644 (file)
@@ -598,8 +598,7 @@ A call calls a callable object (e.g., a function) with a possibly empty series
 of arguments:
 
 .. productionlist::
-   call: `primary` "(" [`argument_list` [","]
-       : | `expression` `genexpr_for`] ")"
+   call: `primary` "(" [`argument_list` [","] | `comprehension`] ")"
    argument_list: `positional_arguments` ["," `keyword_arguments`]
                 :   ["," "*" `expression`] ["," `keyword_arguments`]
                 :   ["," "**" `expression`]