Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Doc/builtins/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2014,6 +2014,8 @@ are always available. They are listed here in alphabetical order.
(or their default). They have no other explicit functionality;
however, they are used by NumPy and other third-party packages.

See also :ref:`slice-objects`.

.. versionchanged:: 3.12
Slice objects are now :term:`hashable` (provided :attr:`~slice.start`,
:attr:`~slice.stop`, and :attr:`~slice.step` are hashable).
Expand Down
2 changes: 1 addition & 1 deletion Doc/builtins/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6775,7 +6775,7 @@ Internal Objects

See :ref:`types` for this information. It describes
:ref:`stack frame objects <frame-objects>`,
:ref:`traceback objects <traceback-objects>`, and slice objects.
:ref:`traceback objects <traceback-objects>`, and :ref:`slice objects <slice-objects>`.


.. _specialattrs:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/slice.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. highlight:: c

.. _slice-objects:
.. _c-api-slice-objects:

Slice Objects
-------------
Expand Down
2 changes: 2 additions & 0 deletions Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,8 @@ Glossary
of :ref:`subscript notation <subscriptions>`, with colons inside square
brackets, such as in ``variable_name[1:3:5]``.

See also :ref:`slice-objects`.

soft deprecated
A soft deprecated API should not be used in new code,
but it is safe for already existing code to use it.
Expand Down
1 change: 1 addition & 0 deletions Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,7 @@ occurred in a
.. versionchanged:: 3.7
This attribute is now writable

.. _slice-objects:

Slice objects
^^^^^^^^^^^^^
Expand Down
Loading