[Python-checkins] (no subject)

Stéphane Wirtel webhook-mailer at python.org
Wed Sep 11 09:38:21 EDT 2019




To: python-checkins at python.org
Subject:
 bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760) (GH-15940)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/4d2babd99022bf43dc659d9fe5700c1fc138=
08c4
commit: 4d2babd99022bf43dc659d9fe5700c1fc13808c4
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.co=
m>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019-09-11T15:38:17+02:00
summary:

bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760) (GH-15940)

https://bugs.python.org/issue33459

Automerge-Triggered-By: @matrixise
(cherry picked from commit dc269971091710563a0d730a0d4b084901826c15)

Co-authored-by: Andre Delfino <adelfino at gmail.com>

files:
M Doc/reference/expressions.rst

diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index ee13c5f4c6fc..73a2f271ca54 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -148,9 +148,8 @@ immutable, the same rules as for literals apply (i.e., tw=
o occurrences of the em
 tuple may or may not yield the same object).
=20
 .. index::
-   single: comma; tuple display
-   pair: tuple; display
-   single: , (comma); tuple display
+   single: comma
+   single: , (comma)
=20
 Note that tuples are not formed by the parentheses, but rather by use of the
 comma operator.  The exception is the empty tuple, for which parentheses *ar=
e*
@@ -1822,7 +1821,8 @@ precedence and have a left-to-right chaining feature as=
 described in the
 | ``x[index]``, ``x[index:index]``,             | Subscription, slicing,    =
          |
 | ``x(arguments...)``, ``x.attribute``          | call, attribute reference =
          |
 +-----------------------------------------------+---------------------------=
----------+
-| ``(expressions...)``,                         | Binding or tuple display, =
          |
+| ``(expressions...)``,                         | Binding or parenthesized  =
          |
+|                                               | expression,               =
          |
 | ``[expressions...]``,                         | list display,             =
          |
 | ``{key: value...}``,                          | dictionary display,       =
          |
 | ``{expressions...}``                          | set display               =
          |



More information about the Python-checkins mailing list