[Python-checkins]
python/dist/src/Doc/whatsnew whatsnew24.tex, 1.69, 1.70
perky at users.sourceforge.net
perky at users.sourceforge.net
Sat Jul 17 15:53:51 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1129
Modified Files:
whatsnew24.tex
Log Message:
SF #990497: Fix a trivial typo in sorted() example.
(Submitted by Daniel Pezely)
Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** whatsnew24.tex 15 Jul 2004 11:52:40 -0000 1.69
--- whatsnew24.tex 17 Jul 2004 13:53:48 -0000 1.70
***************
*** 541,545 ****
>>> [10+i for i in sorted(L)] # usable in a list comprehension
[11, 12, 13, 14, 15, 16, 17, 18, 19]
! >>> L = [9,7,8,3,2,4,1,6,5] # original is left unchanged
[9,7,8,3,2,4,1,6,5]
--- 541,545 ----
>>> [10+i for i in sorted(L)] # usable in a list comprehension
[11, 12, 13, 14, 15, 16, 17, 18, 19]
! >>> L # original is left unchanged
[9,7,8,3,2,4,1,6,5]
More information about the Python-checkins
mailing list