diff options
Diffstat (limited to 'Include/rangeobject.h')
-rw-r--r-- | Include/rangeobject.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/rangeobject.h b/Include/rangeobject.h index 7e4dc28..36c9cee 100644 --- a/Include/rangeobject.h +++ b/Include/rangeobject.h @@ -7,6 +7,9 @@ extern "C" { #endif +/* This is about the type 'xrange', not the built-in function range(), which + returns regular lists. */ + /* A range object represents an integer range. This is an immutable object; a range cannot change its value after creation. @@ -16,8 +19,6 @@ they are represented by a start, stop, and step datamembers. */ PyAPI_DATA(PyTypeObject) PyRange_Type; -PyAPI_DATA(PyTypeObject) PyRangeIter_Type; -PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) |