@@ -932,8 +932,8 @@ method, that method is called as a fallback.
932932
933933.. _subscriptions :
934934
935- Subscriptions and slicing
936- -------------------------
935+ Subscriptions and slicings
936+ --------------------------
937937
938938.. index ::
939939 single: subscription
@@ -1030,8 +1030,8 @@ are also usable for assignment and deletion.
10301030
10311031.. _slicings :
10321032
1033- Slicing
1034- ^^^^^^^
1033+ Slicings
1034+ ^^^^^^^^
10351035
10361036A more advanced form of subscription, :dfn: `slicing `, is commonly used
10371037to extract a portion of a :ref: `sequence <datamodel-sequences >`.
@@ -1066,8 +1066,8 @@ or :meth:`~object.__class_getitem__` method, as above. ::
10661066 subscripted with: slice(None, None, 'spam')
10671067
10681068
1069- Tuple subscription
1070- ^^^^^^^^^^^^^^^^^^
1069+ Comma-separated subscripts
1070+ ^^^^^^^^^^^^^^^^^^^^^^^^^^
10711071
10721072The subscript can also be given as two or more comma-separated expressions
10731073or slices::
@@ -1090,8 +1090,8 @@ by a comma, to specify a one-element tuple::
10901090 subscripted with ('spam',)
10911091
10921092
1093- "Starred" subscription
1094- ^^^^^^^^^^^^^^^^^^^^^^
1093+ "Starred" subscriptions
1094+ ^^^^^^^^^^^^^^^^^^^^^^^
10951095
10961096.. versionadded :: 3.11
10971097 Expressions in *tuple_slices * may be starred. See :pep: `646 `.
@@ -2144,7 +2144,7 @@ precedence and have a left-to-right chaining feature as described in the
21442144| ``{key: value...} ``, | dictionary display, |
21452145| ``{expressions...} `` | set display |
21462146+-----------------------------------------------+-------------------------------------+
2147- | ``x[index] ``, ``x[index:index] ``, | Subscription, slicing, |
2147+ | ``x[index] ``, ``x[index:index] `` | Subscription (including slicing), |
21482148| ``x(arguments...) ``, ``x.attribute `` | call, attribute reference |
21492149+-----------------------------------------------+-------------------------------------+
21502150| :keyword: `await x <await> ` | Await expression |
0 commit comments