We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b2d20 commit 7a95cc9Copy full SHA for 7a95cc9
1 file changed
Doc/reference/datamodel.rst
@@ -1824,6 +1824,10 @@ Slice objects are used to represent slices for
1824
:meth:`~object.__getitem__`
1825
methods. They are also created by the built-in :func:`slice` function.
1826
1827
+.. versionadded:: 3.15
1828
+
1829
+ :class:`slice` now supports :ref:`subscription`.
1830
1831
.. index::
1832
single: start (slice object attribute)
1833
single: stop (slice object attribute)
0 commit comments