[Python-checkins] python/dist/src/Include sliceobject.h,2.5,2.6
mwh@users.sourceforge.net
mwh@users.sourceforge.net
Tue, 11 Jun 2002 03:55:41 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv9709/Include
Modified Files:
sliceobject.h
Log Message:
This is my nearly two year old patch
[ 400998 ] experimental support for extended slicing on lists
somewhat spruced up and better tested than it was when I wrote it.
Includes docs & tests. The whatsnew section needs expanding, and arrays
should support extended slices -- later.
Index: sliceobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/sliceobject.h,v
retrieving revision 2.5
retrieving revision 2.6
diff -C2 -d -r2.5 -r2.6
*** sliceobject.h 9 Jul 2000 00:55:06 -0000 2.5
--- sliceobject.h 11 Jun 2002 10:55:09 -0000 2.6
***************
*** 33,36 ****
--- 33,39 ----
DL_IMPORT(int) PySlice_GetIndices(PySliceObject *r, int length,
int *start, int *stop, int *step);
+ DL_IMPORT(int) PySlice_GetIndicesEx(PySliceObject *r, int length,
+ int *start, int *stop,
+ int *step, int *slicelength);
#ifdef __cplusplus