Issue #23756: Clarify the terms "contiguous" and "bytes-like object".

Patch by Martin Panter.
This commit is contained in:
Stefan Krah 2015-08-08 14:33:28 +02:00
parent 0c51595a78
commit 70e543b266
4 changed files with 30 additions and 13 deletions

View file

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