From b7bb54fc10ed994d86efc425b6f667ffa6660392 Mon Sep 17 00:00:00 2001 From: andrei kulakov Date: Thu, 9 Sep 2021 04:30:56 -0400 Subject: Specify default order in memoryview.tobytes() docs (GH-27936) --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f0a3eda..4900bc2 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. :: -- cgit v0.12