Staging
v0.5.1
v0.5.1
Revision fe69139f7e960c52aab54e2b6b1026ced68024d4 authored by Michael W. Hudson on 16 March 2002, 18:19:33 UTC, committed by Michael W. Hudson on 16 March 2002, 18:19:33 UTC
"cvs diff | patch" managed to stick the NEWS item in the 2.2 final section! I wonder which silly man wrote patch <wink>.
1 parent 13510e7
rangeobject.h
/* Range object interface */
#ifndef Py_RANGEOBJECT_H
#define Py_RANGEOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
/*
A range object represents an integer range. This is an immutable object;
a range cannot change its value after creation.
Range objects behave like the corresponding tuple objects except that
they are represented by a start, stop, and step datamembers.
*/
extern DL_IMPORT(PyTypeObject) PyRange_Type;
#define PyRange_Check(op) ((op)->ob_type == &PyRange_Type)
extern DL_IMPORT(PyObject *) PyRange_New(long, long, long, int);
#ifdef __cplusplus
}
#endif
#endif /* !Py_RANGEOBJECT_H */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...