diff options
author | Raymond Hettinger <python@rcn.com> | 2003-10-29 06:54:43 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-10-29 06:54:43 (GMT) |
commit | 0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320 (patch) | |
tree | 9f383ec9b1ddc0e5bc09d25cd502aaac2b2432f8 /Misc | |
parent | c43a7e7c370215518ea110f4d98493935bd1c2b8 (diff) | |
download | cpython-0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320.zip cpython-0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320.tar.gz cpython-0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320.tar.bz2 |
Add list.sorted() classmethod.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |