[Python-checkins] CVS: python/dist/src/Include rangeobject.h,2.17,2.18
Thomas Wouters
twouters@users.sourceforge.net
Mon, 09 Jul 2001 05:30:56 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv758/Include
Modified Files:
rangeobject.h
Log Message:
Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed
on python-dev. The features will still vanish, however, just one release
later.
Index: rangeobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/rangeobject.h,v
retrieving revision 2.17
retrieving revision 2.18
diff -C2 -r2.17 -r2.18
*** rangeobject.h 2001/07/05 13:24:44 2.17
--- rangeobject.h 2001/07/09 12:30:54 2.18
***************
*** 20,24 ****
#define PyRange_Check(op) ((op)->ob_type == &PyRange_Type)
! extern DL_IMPORT(PyObject *) PyRange_New(long, long, long);
#ifdef __cplusplus
--- 20,24 ----
#define PyRange_Check(op) ((op)->ob_type == &PyRange_Type)
! extern DL_IMPORT(PyObject *) PyRange_New(long, long, long, int);
#ifdef __cplusplus