[Python-checkins] python/dist/src/Doc/ref reswords.py,1.2,1.3

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sun Jul 18 08:25:17 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32520/ref

Modified Files:
	reswords.py 
Log Message:
Whitespace normalization, via reindent.py.


Index: reswords.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/reswords.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** reswords.py	4 Dec 2001 20:39:36 -0000	1.2
--- reswords.py	18 Jul 2004 06:25:15 -0000	1.3
***************
*** 12,23 ****
      nrows = (nwords + ncols - 1) / ncols
      for irow in range(nrows):
! 	for icol in range(ncols):
! 	    i = irow + icol * nrows
! 	    if 0 <= i < nwords:
! 		word = words[i]
! 	    else:
! 		word = ""
! 	    print "%-*s" % (colwidth, word),
! 	print
  
  main()
--- 12,23 ----
      nrows = (nwords + ncols - 1) / ncols
      for irow in range(nrows):
!         for icol in range(ncols):
!             i = irow + icol * nrows
!             if 0 <= i < nwords:
!                 word = words[i]
!             else:
!                 word = ""
!             print "%-*s" % (colwidth, word),
!         print
  
  main()



More information about the Python-checkins mailing list