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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Docs fixup
  • Loading branch information
StanFromIreland committed Mar 31, 2026
commit e80a8410e1b225077d268232f3502f9f39191348
6 changes: 3 additions & 3 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3743,9 +3743,6 @@ arbitrary binary data.
are replaced. If *count* is not specified or ``-1``, then all occurrences
are replaced.

.. versionchanged:: next
*count* is now supported as a keyword argument.

The subsequence to search for and its replacement may be any
:term:`bytes-like object`.

Expand All @@ -3754,6 +3751,9 @@ arbitrary binary data.
The bytearray version of this method does *not* operate in place - it
always produces a new object, even if no changes were made.

.. versionchanged:: next
*count* is now supported as a keyword argument.


.. method:: bytes.rfind(sub[, start[, end]])
bytearray.rfind(sub[, start[, end]])
Expand Down
Loading