diff Include/rangeobject.h @ 18436:9653272f036f legacy-trunk

Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed on python-dev. The features will still vanish, however, just one release later.
author Thomas Wouters <thomas@python.org>
date Mon, 09 Jul 2001 12:30:54 +0000
parents aadd99830531
children c1eb668525e1
line wrap: on
line diff
--- a/Include/rangeobject.h	Mon Jul 09 10:45:31 2001 +0000
+++ b/Include/rangeobject.h	Mon Jul 09 12:30:54 2001 +0000
@@ -19,7 +19,7 @@
 
 #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
 }