Staging
v0.8.1
https://github.com/python/cpython
Revision 2975786decbe2358b088a6200914d7c0a2818e72 authored by Guido van Rossum on 23 January 2001, 01:46:06 UTC, committed by Guido van Rossum on 23 January 2001, 01:46:06 UTC
PyThreadState_Delete() and PyEval_ReleaseLock().  It is only defined
if WITH_THREAD is defined.
1 parent 5f827f4
Raw File
Tip revision: 2975786decbe2358b088a6200914d7c0a2818e72 authored by Guido van Rossum on 23 January 2001, 01:46:06 UTC
Add a new API, PyThreadState_DeleteCurrent() that combines
Tip revision: 2975786
rangeobject.h

/* Range object interface */

/*
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);
back to top