[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.149,1.150

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Tue, 15 Jul 2003 20:26:33 -0700


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv2575

Modified Files:
	whatsnew23.tex 
Log Message:
In the description of enumerate(), the indexing operators should not
be included in the \var.  This produced weird results in general, but
broke the GNU info conversion.


Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.149
retrieving revision 1.150
diff -C2 -d -r1.149 -r1.150
*** whatsnew23.tex	12 Jul 2003 04:42:30 -0000	1.149
--- whatsnew23.tex	16 Jul 2003 03:26:31 -0000	1.150
***************
*** 384,389 ****
  certain loops a bit clearer.  \code{enumerate(thing)}, where
  \var{thing} is either an iterator or a sequence, returns a iterator
! that will return \code{(0, \var{thing[0]})}, \code{(1,
! \var{thing[1]})}, \code{(2, \var{thing[2]})}, and so forth.  
  
  Fairly often you'll see code to change every element of a list that
--- 384,389 ----
  certain loops a bit clearer.  \code{enumerate(thing)}, where
  \var{thing} is either an iterator or a sequence, returns a iterator
! that will return \code{(0, \var{thing}[0])}, \code{(1,
! \var{thing}[1])}, \code{(2, \var{thing}[2])}, and so forth.  
  
  Fairly often you'll see code to change every element of a list that