[Python-checkins] CVS: python/dist/src/Misc NEWS,1.60,1.61
Guido van Rossum
python-dev@python.org
Wed, 6 Sep 2000 16:34:28 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory slayer.i.sourceforge.net:/tmp/cvs-serv710
Modified Files:
NEWS
Log Message:
Another typo (in the list comprehension example).
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -r1.60 -r1.61
*** NEWS 2000/09/06 13:02:08 1.60
--- NEWS 2000/09/06 23:34:25 1.61
***************
*** 123,127 ****
[<expression> for <variable> in <sequence>]
! For example, [x**2 for i in range(4)] yields the list [0, 1, 4, 9].
This is more efficient than map() with a lambda.
--- 123,127 ----
[<expression> for <variable> in <sequence>]
! For example, [i**2 for i in range(4)] yields the list [0, 1, 4, 9].
This is more efficient than map() with a lambda.