Add forgotten initialization. Fixes bug #120994, "Traceback with
[python/dscho.git] / Include / rangeobject.h
blob145f774af85e295698f1f935d01e9f3b7c16c66c
2 /* Range object interface */
4 /*
5 A range object represents an integer range. This is an immutable object;
6 a range cannot change its value after creation.
8 Range objects behave like the corresponding tuple objects except that
9 they are represented by a start, stop, and step datamembers.
12 extern DL_IMPORT(PyTypeObject) PyRange_Type;
14 #define PyRange_Check(op) ((op)->ob_type == &PyRange_Type)
16 extern DL_IMPORT(PyObject *) PyRange_New(long, long, long, int);