]> granicus.if.org Git - python/commit
Issue #12170: The count(), find(), rfind(), index() and rindex() methods
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 20 Oct 2011 21:54:17 +0000 (23:54 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 20 Oct 2011 21:54:17 +0000 (23:54 +0200)
commitac65d96777f1619c2910de82093e4f6f24dedd2f
tree7445f286a7b2221ec6d6ee54b3b9b828364487df
parent407cfd1a269845208786bb9e7074e9990fa96dd7
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.
Doc/library/stdtypes.rst
Lib/test/string_tests.py
Lib/test/test_bytes.py
Misc/NEWS
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/stringlib/find.h