diff options
author | Guido van Rossum <guido@python.org> | 2001-07-05 13:27:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-05 13:27:48 (GMT) |
commit | 3f56166b1aff15136960dfc8ad90f571e14be01a (patch) | |
tree | 6d39af58334274d80e96f5d59a6e1f3b12f91588 /Include | |
parent | 25ddc6330f1977c4c650f1002586faf4f7b2c639 (diff) | |
download | cpython-3f56166b1aff15136960dfc8ad90f571e14be01a.zip cpython-3f56166b1aff15136960dfc8ad90f571e14be01a.tar.gz cpython-3f56166b1aff15136960dfc8ad90f571e14be01a.tar.bz2 |
Rip out the fancy behaviors of xrange that nobody uses: repeat, slice,
contains, tolist(), and the start/stop/step attributes. This includes
removing the 4th ('repeat') argument to PyRange_New().
Diffstat (limited to 'Include')
-rw-r--r-- | Include/rangeobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/rangeobject.h b/Include/rangeobject.h index ff6dbc2..9855cf2 100644 --- a/Include/rangeobject.h +++ b/Include/rangeobject.h @@ -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, int); +extern DL_IMPORT(PyObject *) PyRange_New(long, long, long); #ifdef __cplusplus } |