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/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,8 @@ Glossary
when several are given, such as in ``variable_name[1:3:5]``. The bracket
(subscript) notation uses :class:`slice` objects internally.

See also :ref:`slice-objects`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I click the rendered link in the preview, it sends me to the C-API docs and not the data model docs.


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
2 changes: 2 additions & 0 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,8 @@ are always available. They are listed here in alphabetical order.
:func:`itertools.islice` for an alternate version that returns an
:term:`iterator`.

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/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5978,7 +5978,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
Loading