Skip to content

Commit 37d4968

Browse files
committed
Use the existing iterator page instead of adding a new one.
1 parent ac588e5 commit 37d4968

File tree

3 files changed

+28
-29
lines changed

3 files changed

+28
-29
lines changed

Doc/c-api/builtin.rst

Lines changed: 0 additions & 28 deletions
This file was deleted.

Doc/c-api/concrete.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,3 @@ Other Objects
117117
contextvars.rst
118118
datetime.rst
119119
typehints.rst
120-
builtin.rst

Doc/c-api/iterator.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,31 @@ sentinel value is returned.
5050
callable object that can be called with no parameters; each call to it should
5151
return the next item in the iteration. When *callable* returns a value equal to
5252
*sentinel*, the iteration will be terminated.
53+
54+
55+
.. _other-builtin-types:
56+
57+
Other Builtin Iterator Types
58+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59+
60+
These are built-in iteration types that are included in Python's C API, but
61+
provide no additional functions. They are here for completeness.
62+
63+
.. c:var:: PyTypeObject PyEnum_Type
64+
65+
The type object for :class:`enumerate` objects.
66+
67+
68+
.. c:var:: PyTypeObject PyMap_Type
69+
70+
The type object for :class:`map` objects.
71+
72+
73+
.. c:var:: PyTypeObject PyReversed_Type
74+
75+
The type object for :class:`reversed` objects.
76+
77+
78+
.. c:var:: PyTypeObject PyZip_Type
79+
80+
The type object for :class:`zip` objects.

0 commit comments

Comments
 (0)