diff options
author | Daniel Stutzbach <daniel@stutzbachenterprises.com> | 2010-09-13 21:16:29 (GMT) |
---|---|---|
committer | Daniel Stutzbach <daniel@stutzbachenterprises.com> | 2010-09-13 21:16:29 (GMT) |
commit | 9f0cbf1c727f7de884c392176ab4f19a49924c9b (patch) | |
tree | fae5d3d7348ee4b9966e87dd14c5c4b381e77479 /Misc | |
parent | e4d6317c8725f9f341c6f2dd628e3b3ac79ef309 (diff) | |
download | cpython-9f0cbf1c727f7de884c392176ab4f19a49924c9b.zip cpython-9f0cbf1c727f7de884c392176ab4f19a49924c9b.tar.gz cpython-9f0cbf1c727f7de884c392176ab4f19a49924c9b.tar.bz2 |
Issue #9213: Add index and count methods to range objects, needed to
meet the API of the collections.Sequence ABC.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ What's New in Python 3.2 Alpha 3? Core and Builtins ----------------- +- Issue #9212: The range type_items now provides index() and count() + methods, to conform to the Sequence ABC. Patch by Daniel Urban and + Daniel Stutzbach. + - Issue #7994: Issue a PendingDeprecationWarning if object.__format__ is called with a non-empty format string. This is an effort to future-proof user code. If a derived class does not currently |