|
||||
File indexing completed on 2025-01-18 10:06:50
0001 0002 /* Range object interface */ 0003 0004 #ifndef Py_RANGEOBJECT_H 0005 #define Py_RANGEOBJECT_H 0006 #ifdef __cplusplus 0007 extern "C" { 0008 #endif 0009 0010 /* 0011 A range object represents an integer range. This is an immutable object; 0012 a range cannot change its value after creation. 0013 0014 Range objects behave like the corresponding tuple objects except that 0015 they are represented by a start, stop, and step datamembers. 0016 */ 0017 0018 PyAPI_DATA(PyTypeObject) PyRange_Type; 0019 PyAPI_DATA(PyTypeObject) PyRangeIter_Type; 0020 PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; 0021 0022 #define PyRange_Check(op) Py_IS_TYPE((op), &PyRange_Type) 0023 0024 #ifdef __cplusplus 0025 } 0026 #endif 0027 #endif /* !Py_RANGEOBJECT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |