Staging
v0.8.1
https://github.com/python/cpython
Revision 3050987d85d7cf8cdd4b3c053e673d13cd8dfb12 authored by Victor Stinner on 05 July 2017, 07:16:47 UTC, committed by GitHub on 05 July 2017, 07:16:47 UTC
* Rename again Lib/test/bisectcmd.py to Lib/test/bisect.py
* regrtest now removes '' and Lib/test/ from sys.path
* Use absolute import in test_bisect
1 parent d0ae4be
Raw File
Tip revision: 3050987d85d7cf8cdd4b3c053e673d13cd8dfb12 authored by Victor Stinner on 05 July 2017, 07:16:47 UTC
bpo-30843: regrtest fixes sys.path, restore test.bisect (#2567)
Tip revision: 3050987
rangeobject.h

/* Range object interface */

#ifndef Py_RANGEOBJECT_H
#define Py_RANGEOBJECT_H
#ifdef __cplusplus
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.

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) (Py_TYPE(op) == &PyRange_Type)

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