File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,33 @@ sentinel value is returned.
5252 *sentinel *, the iteration will be terminated.
5353
5454
55- .. _other-builtin-types :
55+
56+ .. _range-objects :
57+ Range Objects
58+ ^^^^^^^^^^^^^
59+
60+ .. c :var :: PyTypeObject PyRange_Type
61+
62+ The type object for :class: `range ` objects.
63+
64+
65+ .. c :var :: PyTypeObject PyRangeIter_Type
66+
67+ The type object for iterators over :class: `range ` objects.
68+
69+
70+ .. c :var :: PyTypeObject PyLongRangeIter_Type
71+
72+ The type object for iterators over :class: `range ` objects with large bounds.
73+
74+
75+ .. c :function :: int PyRange_Check (PyObject *o)
76+
77+ Return true if the object *o * is an instance of a :class: `range ` object.
78+ This function always succeeds.
79+
80+
81+ .. _other-builtin-iterator-types :
5682
5783Other Builtin Iterator Types
5884^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -78,3 +104,4 @@ provide no additional functions. They are here for completeness.
78104.. c :var :: PyTypeObject PyZip_Type
79105
80106 The type object for :class: `zip ` objects.
107+
You can’t perform that action at this time.
0 commit comments