diff options
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 |