diff --git a/Doc/glossary.rst b/Doc/glossary.rst index c0ca0be304ebe4..4c8a34cee70577 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -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`. + soft deprecated A soft deprecated API should not be used in new code, but it is safe for already existing code to use it. diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 61799e303a1639..78bf00f88db03d 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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). diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 21fe35edc1bef8..3da06b950b92c8 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -5978,7 +5978,7 @@ Internal Objects See :ref:`types` for this information. It describes :ref:`stack frame objects `, -:ref:`traceback objects `, and slice objects. +:ref:`traceback objects `, and :ref:`slice objects `. .. _specialattrs: