mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #23756: Clarify the terms "contiguous" and "bytes-like object".
Patch by Martin Panter.
This commit is contained in:
parent
0c51595a78
commit
70e543b266
4 changed files with 30 additions and 13 deletions
|
@ -35,7 +35,7 @@ any other object.
|
|||
|
||||
.. c:function:: PyObject *PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order)
|
||||
|
||||
Create a memoryview object to a contiguous chunk of memory (in either
|
||||
Create a memoryview object to a :term:`contiguous` chunk of memory (in either
|
||||
'C' or 'F'ortran *order*) from an object that defines the buffer
|
||||
interface. If memory is contiguous, the memoryview object points to the
|
||||
original memory. Otherwise, a copy is made and the memoryview points to a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue