summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-20 21:54:17 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-20 21:54:17 (GMT)
commitac65d96777f1619c2910de82093e4f6f24dedd2f (patch)
tree7445f286a7b2221ec6d6ee54b3b9b828364487df /Misc
parent407cfd1a269845208786bb9e7074e9990fa96dd7 (diff)
downloadcpython-ac65d96777f1619c2910de82093e4f6f24dedd2f.zip
cpython-ac65d96777f1619c2910de82093e4f6f24dedd2f.tar.gz
cpython-ac65d96777f1619c2910de82093e4f6f24dedd2f.tar.bz2
Issue #12170: The count(), find(), rfind(), index() and rindex() methods
of bytes and bytearray objects now accept an integer between 0 and 255 as their first argument. Patch by Petri Lehtinen.
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 bfd97cb..7fe6143 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ What's New in Python 3.3 Alpha 1?
Core and Builtins
-----------------
+- Issue #12170: The count(), find(), rfind(), index() and rindex() methods
+ of bytes and bytearray objects now accept an integer between 0 and 255
+ as their first argument. Patch by Petri Lehtinen.
+
- Issue #12604: VTRACE macro expanded to no-op in _sre.c to avoid compiler
warnings. Patch by Josh Triplett and Petri Lehtinen.