diff options
author | Guido van Rossum <guido@python.org> | 2001-07-05 13:27:48 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-05 13:27:48 +0000 |
commit | 3f56166b1aff15136960dfc8ad90f571e14be01a (patch) | |
tree | 6d39af58334274d80e96f5d59a6e1f3b12f91588 /Include/rangeobject.h | |
parent | 25ddc6330f1977c4c650f1002586faf4f7b2c639 (diff) | |
download | cpython-git-3f56166b1aff15136960dfc8ad90f571e14be01a.tar.gz |
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/rangeobject.h')
-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 ff6dbc2871..9855cf2a5d 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 } |