]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Apr 2019 10:18:48 +0000 (03:18 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2019 10:18:48 +0000 (03:18 -0700)
(cherry picked from commit efc48701496ef020e896fc6a91af3c0c612ac69a)

Co-authored-by: pewscorner <pewscorner@users.noreply.github.com>
Doc/library/stdtypes.rst

index c21cb0d9ea0f4ae13036571af0532d717e64e2bf..3b74331e51f25d06ea4d8aea6b80d1eea6d75dd1 100644 (file)
@@ -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`.