diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2004-07-17 13:53:48 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2004-07-17 13:53:48 (GMT) |
commit | 2b05248e8b2111d36abf17e99ef3f45f5ce11437 (patch) | |
tree | 7e5da48c056323fe234a4680d7a76e33c63cbccf /Doc | |
parent | 872dc5c457df82756de0c146babfc7938983f38c (diff) | |
download | cpython-2b05248e8b2111d36abf17e99ef3f45f5ce11437.zip cpython-2b05248e8b2111d36abf17e99ef3f45f5ce11437.tar.gz cpython-2b05248e8b2111d36abf17e99ef3f45f5ce11437.tar.bz2 |
SF #990497: Fix a trivial typo in sorted() example.
(Submitted by Daniel Pezely)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 2e62823..3b33d8a 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -540,7 +540,7 @@ expressions. The differences are: >>> L = [9,7,8,3,2,4,1,6,5] >>> [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 +>>> L # original is left unchanged [9,7,8,3,2,4,1,6,5] >>> sorted('Monte Python') # any iterable may be an input |