Skip to content

Commit a1e470b

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,11 +1735,10 @@ are always available. They are listed here in alphabetical order.
17351735

17361736
Rather than being a function, :class:`range` is actually an immutable
17371737
sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`.
1738-
1738+
17391739
The object returned by :class:`range` is an :term:`iterator` and supports iteration.
17401740
See also :ref:`iterator` for more information about iterators and how to implement
17411741
custom iterable classes.
1742-
17431742
.. function:: repr(object)
17441743

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

0 commit comments

Comments
 (0)