diff options
author | andrei kulakov <andrei.avk@gmail.com> | 2021-09-09 08:30:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 08:30:56 (GMT) |
commit | b7bb54fc10ed994d86efc425b6f667ffa6660392 (patch) | |
tree | 837bac28e25f330f98fb302f10d857852773fd75 | |
parent | 5afb570d2e21d4c4e91802c4948569302f9c1a7b (diff) | |
download | cpython-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.rst | 2 |
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. :: |