Specify default order in memoryview.tobytes() docs (GH-27936)

This commit is contained in:
andrei kulakov 2021-09-09 04:30:56 -04:00 committed by GitHub
parent 5afb570d2e
commit b7bb54fc10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. ::