[Python-checkins] python/nondist/peps pep-0289.txt,1.13,1.14

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Sat Jul 3 18:26:44 EDT 2004


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30692

Modified Files:
	pep-0289.txt 
Log Message:
Typo fixes

Index: pep-0289.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0289.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** pep-0289.txt	20 May 2004 22:57:01 -0000	1.13
--- pep-0289.txt	3 Jul 2004 22:26:41 -0000	1.14
***************
*** 34,38 ****
      sum([x*x for x in range(10)])
  
! Memory is conserved by using an generator expession instead::
  
      sum(x*x for x in range(10))
--- 34,38 ----
      sum([x*x for x in range(10)])
  
! Memory is conserved by using a generator expession instead::
  
      sum(x*x for x in range(10))
***************
*** 163,167 ****
  3. The loop variable (if it is a simple variable or a tuple of simple
     variables) is not exposed to the surrounding function.  This
!    facilates the implementation and makes typical use cases more
     reliable.  In some future version of Python, list comprehensions
     will also hide the induction variable from the surrounding code
--- 163,167 ----
  3. The loop variable (if it is a simple variable or a tuple of simple
     variables) is not exposed to the surrounding function.  This
!    facilitates the implementation and makes typical use cases more
     reliable.  In some future version of Python, list comprehensions
     will also hide the induction variable from the surrounding code




More information about the Python-checkins mailing list