#10742: document readonly attribute of memoryviews.
This commit is contained in:
parent
b12fd63468
commit
c28036b532
|
@ -2433,6 +2433,10 @@ copying. Memory is generally interpreted as simple bytes.
|
||||||
A tuple of integers the length of :attr:`ndim` giving the size in bytes to
|
A tuple of integers the length of :attr:`ndim` giving the size in bytes to
|
||||||
access each element for each dimension of the array.
|
access each element for each dimension of the array.
|
||||||
|
|
||||||
|
.. attribute:: readonly
|
||||||
|
|
||||||
|
A bool indicating whether the memory is read only.
|
||||||
|
|
||||||
.. memoryview.suboffsets isn't documented because it only seems useful for C
|
.. memoryview.suboffsets isn't documented because it only seems useful for C
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue