Skip to content

Commit b7bb54f

Browse files
authored
Specify default order in memoryview.tobytes() docs (GH-27936)
1 parent 5afb570 commit b7bb54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3806,7 +3806,7 @@ copying.
38063806
Previous versions compared the raw memory disregarding the item format
38073807
and the logical array structure.
38083808

3809-
.. method:: tobytes(order=None)
3809+
.. method:: tobytes(order='C')
38103810

38113811
Return the data in the buffer as a bytestring. This is equivalent to
38123812
calling the :class:`bytes` constructor on the memoryview. ::

0 commit comments

Comments
 (0)