mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Specify default order in memoryview.tobytes() docs (GH-27936)
This commit is contained in:
parent
5afb570d2e
commit
b7bb54fc10
1 changed files with 1 additions and 1 deletions
|
|
@ -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. ::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue