summaryrefslogtreecommitdiffstats
path: root/Include/rangeobject.h
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-07-09 12:30:54 (GMT)
committerThomas Wouters <thomas@python.org>2001-07-09 12:30:54 (GMT)
commitefafcea2805436c12fd6544d9bff355cfac061d8 (patch)
treeaf9cd5cafe8fdba354d419ec8aa08737dc346794 /Include/rangeobject.h
parent4ccf1190535319d37cbc712422fd097cd8f0464f (diff)
downloadcpython-efafcea2805436c12fd6544d9bff355cfac061d8.zip
cpython-efafcea2805436c12fd6544d9bff355cfac061d8.tar.gz
cpython-efafcea2805436c12fd6544d9bff355cfac061d8.tar.bz2
Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed
on python-dev. The features will still vanish, however, just one release later.
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 9855cf2..ff6dbc2 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);
+extern DL_IMPORT(PyObject *) PyRange_New(long, long, long, int);
#ifdef __cplusplus
}