Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed

on python-dev. The features will still vanish, however, just one release
later.
This commit is contained in:
Thomas Wouters 2001-07-09 12:30:54 +00:00
parent 4ccf119053
commit efafcea280
3 changed files with 222 additions and 19 deletions

View file

@ -19,7 +19,7 @@ extern DL_IMPORT(PyTypeObject) PyRange_Type;
#define PyRange_Check(op) ((op)->ob_type == &PyRange_Type)
extern DL_IMPORT(PyObject *) PyRange_New(long, long, long);
extern DL_IMPORT(PyObject *) PyRange_New(long, long, long, int);
#ifdef __cplusplus
}