summaryrefslogtreecommitdiff
path: root/Include/rangeobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-07-05 13:27:48 +0000
committerGuido van Rossum <guido@python.org>2001-07-05 13:27:48 +0000
commit3f56166b1aff15136960dfc8ad90f571e14be01a (patch)
tree6d39af58334274d80e96f5d59a6e1f3b12f91588 /Include/rangeobject.h
parent25ddc6330f1977c4c650f1002586faf4f7b2c639 (diff)
downloadcpython-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.h2
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
}