Skip to content

Commit 3f553c0

Browse files
committed
Doc: Add iterator reference and anchor to range() documentation
1 parent a1e470b commit 3f553c0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,9 +1736,7 @@ are always available. They are listed here in alphabetical order.
17361736
Rather than being a function, :class:`range` is actually an immutable
17371737
sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`.
17381738

1739-
The object returned by :class:`range` is an :term:`iterator` and supports iteration.
1740-
See also :ref:`iterator` for more information about iterators and how to implement
1741-
custom iterable classes.
1739+
The :class:`range` type is iterable and supports iteration.
17421740
.. function:: repr(object)
17431741

17441742
Return a string containing a printable representation of an object. For many

0 commit comments

Comments
 (0)