[Python-checkins] python/dist/src/Include listobject.h,2.27,2.28

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Thu Mar 11 04:13:14 EST 2004


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3605/Include

Modified Files:
	listobject.h 
Log Message:
Eliminate a big block of duplicate code in PySequence_List() by 
exposing _PyList_Extend().



Index: listobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/listobject.h,v
retrieving revision 2.27
retrieving revision 2.28
diff -C2 -d -r2.27 -r2.28
*** listobject.h	13 Feb 2004 11:36:39 -0000	2.27
--- listobject.h	11 Mar 2004 09:13:12 -0000	2.28
***************
*** 42,45 ****
--- 42,46 ----
  PyAPI_FUNC(int) PyList_Reverse(PyObject *);
  PyAPI_FUNC(PyObject *) PyList_AsTuple(PyObject *);
+ PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *);
  
  /* Macro, trading safety for speed */




More information about the Python-checkins mailing list