From: andrei kulakov Date: Thu, 9 Sep 2021 08:30:56 +0000 (-0400) Subject: Specify default order in memoryview.tobytes() docs (GH-27936) X-Git-Tag: v3.11.0a1~218 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7bb54fc10ed994d86efc425b6f667ffa6660392;p=thirdparty%2FPython%2Fcpython.git Specify default order in memoryview.tobytes() docs (GH-27936) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f0a3eda8213e..4900bc219146 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -3806,7 +3806,7 @@ copying. Previous versions compared the raw memory disregarding the item format and the logical array structure. - .. method:: tobytes(order=None) + .. method:: tobytes(order='C') Return the data in the buffer as a bytestring. This is equivalent to calling the :class:`bytes` constructor on the memoryview. ::