mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Implement and apply PEP 322, reverse iteration
This commit is contained in:
parent
f607fc5395
commit
85c20a41df
12 changed files with 198 additions and 9 deletions
|
@ -12,6 +12,9 @@ What's New in Python 2.4 alpha 1?
|
|||
Core and builtins
|
||||
-----------------
|
||||
|
||||
- Added a reversed() builtin function that returns a reverse iterator
|
||||
over a sequence.
|
||||
|
||||
- CObjects are now mutable (on the C level) through PyCObject_SetVoidPtr.
|
||||
|
||||
- list.sort() now supports three keyword arguments: cmp, key, and reverse.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue