summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-13 21:16:29 (GMT)
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-13 21:16:29 (GMT)
commit9f0cbf1c727f7de884c392176ab4f19a49924c9b (patch)
treefae5d3d7348ee4b9966e87dd14c5c4b381e77479 /Misc
parente4d6317c8725f9f341c6f2dd628e3b3ac79ef309 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0b86bc9..ee012899 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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