Commit dc269971 authored by Andre Delfino's avatar Andre Delfino Committed by Miss Islington (bot)

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



https://bugs.python.org/issue33459



Automerge-Triggered-By: @matrixise
parent a828514c
...@@ -148,9 +148,8 @@ immutable, the same rules as for literals apply (i.e., two occurrences of the em ...@@ -148,9 +148,8 @@ immutable, the same rules as for literals apply (i.e., two occurrences of the em
tuple may or may not yield the same object). tuple may or may not yield the same object).
.. index:: .. index::
single: comma; tuple display single: comma
pair: tuple; display single: , (comma)
single: , (comma); tuple display
Note that tuples are not formed by the parentheses, but rather by use of the 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 *are* comma operator. The exception is the empty tuple, for which parentheses *are*
...@@ -1822,7 +1821,8 @@ precedence and have a left-to-right chaining feature as described in the ...@@ -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[index]``, ``x[index:index]``, | Subscription, slicing, |
| ``x(arguments...)``, ``x.attribute`` | call, attribute reference | | ``x(arguments...)``, ``x.attribute`` | call, attribute reference |
+-----------------------------------------------+-------------------------------------+ +-----------------------------------------------+-------------------------------------+
| ``(expressions...)``, | Binding or tuple display, | | ``(expressions...)``, | Binding or parenthesized |
| | expression, |
| ``[expressions...]``, | list display, | | ``[expressions...]``, | list display, |
| ``{key: value...}``, | dictionary display, | | ``{key: value...}``, | dictionary display, |
| ``{expressions...}`` | set display | | ``{expressions...}`` | set display |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment