summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrei kulakov <andrei.avk@gmail.com>2021-09-09 08:30:56 (GMT)
committerGitHub <noreply@github.com>2021-09-09 08:30:56 (GMT)
commitb7bb54fc10ed994d86efc425b6f667ffa6660392 (patch)
tree837bac28e25f330f98fb302f10d857852773fd75
parent5afb570d2e21d4c4e91802c4948569302f9c1a7b (diff)
downloadcpython-b7bb54fc10ed994d86efc425b6f667ffa6660392.zip
cpython-b7bb54fc10ed994d86efc425b6f667ffa6660392.tar.gz
cpython-b7bb54fc10ed994d86efc425b6f667ffa6660392.tar.bz2
Specify default order in memoryview.tobytes() docs (GH-27936)
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
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. ::