Staging
v0.5.1
https://github.com/python/cpython
Revision 5696eb22140f1b0c7fb342b9bc3b79aa23468325 authored by Skip Montanaro on 02 January 2001, 17:09:48 UTC, committed by Skip Montanaro on 02 January 2001, 17:09:48 UTC
1 parent d8f38d8
Raw File
Tip revision: 5696eb22140f1b0c7fb342b9bc3b79aa23468325 authored by Skip Montanaro on 02 January 2001, 17:09:48 UTC
forgot to update the comment to reflect the change in default linkage
Tip revision: 5696eb2
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