summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-10-29 06:54:43 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-10-29 06:54:43 (GMT)
commit0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320 (patch)
tree9f383ec9b1ddc0e5bc09d25cd502aaac2b2432f8 /Misc
parentc43a7e7c370215518ea110f4d98493935bd1c2b8 (diff)
downloadcpython-0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320.zip
cpython-0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320.tar.gz
cpython-0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320.tar.bz2
Add list.sorted() classmethod.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a3c5fe5..4bbbb57 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -23,8 +23,8 @@ Core and builtins
starting with Py2.3 are guaranteed to be stable (the relative order of
records with equal keys is unchanged).
-- Added a list.copysort() method that returns a copy of the sorted list
- while leaving the original intact.
+- Added a list.sorted() classmethod that returns a new sorted list
+ from any iterable.
- Added test whether wchar_t is signed or not. A signed wchar_t is not
usable as internal unicode type base for Py_UNICODE since the