Staging
v0.5.1
https://github.com/python/cpython
Revision efd0a140b045f7c59bfbf36a1fa1d0f75d8ac0d0 authored by Jack Jansen on 27 November 2003, 23:20:06 UTC, committed by Jack Jansen on 27 November 2003, 23:20:06 UTC
cause an index error. We now select the first package if this threatens
to happen. Backport of 1.17.
1 parent 4597758
Raw File
Tip revision: efd0a140b045f7c59bfbf36a1fa1d0f75d8ac0d0 authored by Jack Jansen on 27 November 2003, 23:20:06 UTC
Fix (workaround, actually) for bug #844676: deselecting "show hidden" can
Tip revision: efd0a14
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.
*/

PyAPI_DATA(PyTypeObject) PyRange_Type;

#define PyRange_Check(op) ((op)->ob_type == &PyRange_Type)

PyAPI_FUNC(PyObject *) PyRange_New(long, long, long, int);

#ifdef __cplusplus
}
#endif
#endif /* !Py_RANGEOBJECT_H */
back to top