summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-09-21 17:03:29 (GMT)
committerGeorg Brandl <georg@python.org>2008-09-21 17:03:29 (GMT)
commitdc529c1e1faa67af60689527ee7b57b7419730e9 (patch)
tree8f4b42873606004e04c68b83c2e50f21430f2791
parentaf079d4c14c2ff9718f964cddb6b1801e22d1c26 (diff)
downloadcpython-dc529c1e1faa67af60689527ee7b57b7419730e9.zip
cpython-dc529c1e1faa67af60689527ee7b57b7419730e9.tar.gz
cpython-dc529c1e1faa67af60689527ee7b57b7419730e9.tar.bz2
#3923: fix undefined token.
-rw-r--r--Doc/reference/expressions.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 974c500..2e921f8 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -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`]