Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61ea8a0

Browse files
committed
Add a "What's New" entry for #12170
1 parent 5d036e1 commit 61ea8a0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/whatsnew/3.3.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,13 @@ the equality of the underlying sequences generated by those range objects.
209209
(:issue:`13021`)
210210

211211

212+
The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()``
213+
methods of :class:`bytes` and :class:`bytearray` objects now accept an
214+
integer between 0 and 255 as their first argument.
215+
216+
(:issue:`12170`)
217+
218+
212219
New and Improved Modules
213220
========================
214221

0 commit comments

Comments
 (0)