diff options
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,6 +75,9 @@ Core and builtins - Added a reversed() builtin function that returns a reverse iterator over a sequence. +- Added a sorted() builtin function that returns a new sorted list + from any iterable. + - CObjects are now mutable (on the C level) through PyCObject_SetVoidPtr. - list.sort() now supports three keyword arguments: cmp, key, and reverse. @@ -86,9 +89,6 @@ 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.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 unicode implementation assumes an unsigned type. |