From: pewscorner Date: Thu, 11 Apr 2019 06:58:43 +0000 (+0200) Subject: bpo-36416: Correct bytes.rpartition documentation (GH-12543) X-Git-Tag: v3.8.0a4~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efc48701496ef020e896fc6a91af3c0c612ac69a;p=python bpo-36416: Correct bytes.rpartition documentation (GH-12543) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 66915a7c56..bae989e6b3 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2696,8 +2696,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`.