[Python-checkins] python/dist/src/Objects listobject.c,2.109,2.110

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Tue, 11 Jun 2002 05:22:31 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv15921

Modified Files:
	listobject.c 
Log Message:
Fold remaining long lines.


Index: listobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/listobject.c,v
retrieving revision 2.109
retrieving revision 2.110
diff -C2 -d -r2.109 -r2.110
*** listobject.c	11 Jun 2002 10:55:11 -0000	2.109
--- listobject.c	11 Jun 2002 12:22:28 -0000	2.110
***************
*** 1780,1789 ****
  			/* drawing pictures might help 
  			   understand these for loops */
! 			for (cur = start, i = 0; cur < stop; cur += step, i++) {
  				garbage[i] = PyList_GET_ITEM(self, cur);
  
  				for (j = 0; j < step; j++) {
  					PyList_SET_ITEM(self, cur + j - i, 
! 						PyList_GET_ITEM(self, cur + j + 1));
  				}
  			}
--- 1780,1793 ----
  			/* drawing pictures might help 
  			   understand these for loops */
! 			for (cur = start, i = 0;
! 			     cur < stop;
! 			     cur += step, i++)
! 			{
  				garbage[i] = PyList_GET_ITEM(self, cur);
  
  				for (j = 0; j < step; j++) {
  					PyList_SET_ITEM(self, cur + j - i, 
! 						PyList_GET_ITEM(self,
! 								cur + j + 1));
  				}
  			}