[Python-checkins] bpo-36416: Correct bytes.rpartition documentation (GH-12543)

Miss Islington (bot) webhook-mailer at python.org
Thu Apr 11 06:18:51 EDT 2019


https://github.com/python/cpython/commit/04b114eede82c7ffd7b3d9b40e8bf707780b022b
commit: 04b114eede82c7ffd7b3d9b40e8bf707780b022b
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-04-11T03:18:48-07:00
summary:

bpo-36416: Correct bytes.rpartition documentation (GH-12543)

(cherry picked from commit efc48701496ef020e896fc6a91af3c0c612ac69a)

Co-authored-by: pewscorner <pewscorner at users.noreply.github.com>

files:
M Doc/library/stdtypes.rst

diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index c21cb0d9ea0f..3b74331e51f2 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2677,8 +2677,8 @@ arbitrary binary data.
    containing the part before the separator, the separator itself or its
    bytearray copy, and the part after the separator.
    If the separator is not found, return a 3-tuple
-   containing a copy of the original sequence, followed by two empty bytes or
-   bytearray objects.
+   containing two empty bytes or bytearray objects, followed by a copy of the
+   original sequence.
 
    The separator to search for may be any :term:`bytes-like object`.
 



More information about the Python-checkins mailing list