Skip to content

Commit 93fb5b6

Browse files
authored
Link to slice's data model docs in its Built-in Functions entry
1 parent be60e4b commit 93fb5b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,8 @@ are always available. They are listed here in alphabetical order.
18271827
:func:`itertools.islice` for an alternate version that returns an
18281828
:term:`iterator`.
18291829

1830+
See also :ref:`slice-objects`.
1831+
18301832
.. versionchanged:: 3.12
18311833
Slice objects are now :term:`hashable` (provided :attr:`~slice.start`,
18321834
:attr:`~slice.stop`, and :attr:`~slice.step` are hashable).

0 commit comments

Comments
 (0)