summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-25 21:09:10 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-25 21:09:10 (GMT)
commitc009d198db67d197c8c78451b28e15302646de74 (patch)
treedd6bcfb6ff48d0d3381e4e3577bc4d0902ccfdff /Doc/ref
parentc4428c58bba8a951c06df6c0689bb0d818049deb (diff)
downloadcpython-c009d198db67d197c8c78451b28e15302646de74.zip
cpython-c009d198db67d197c8c78451b28e15302646de74.tar.gz
cpython-c009d198db67d197c8c78451b28e15302646de74.tar.bz2
Removed some extraneous and confusing parenthesized expressions.
Noted by Skip Montanaro <skip@mojam.com>.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref5.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 5bca8ed..1ef032b 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -840,15 +840,15 @@ def make_incrementor(increment):
expression_list: expression ("," expression)* [","]
\end{verbatim}
-An expression (expression) list containing at least one comma yields a
+An expression list containing at least one comma yields a
tuple. The length of the tuple is the number of expressions in the
list. The expressions are evaluated from left to right.
\obindex{tuple}
The trailing comma is required only to create a single tuple (a.k.a. a
\emph{singleton}); it is optional in all other cases. A single
-expression (expression) without a trailing comma doesn't create a
-tuple, but rather yields the value of that expression (expression).
+expression without a trailing comma doesn't create a
+tuple, but rather yields the value of that expression.
(To create an empty tuple, use an empty pair of parentheses:
\code{()}.)
\indexii{trailing}{comma}