File tree Expand file tree Collapse file tree 3 files changed +28
-29
lines changed
Expand file tree Collapse file tree 3 files changed +28
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -117,4 +117,3 @@ Other Objects
117117 contextvars.rst
118118 datetime.rst
119119 typehints.rst
120- builtin.rst
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments