Commit c22ba387 authored by Georg Brandl's avatar Georg Brandl

#10742: document readonly attribute of memoryviews.

parent 2a189b18
......@@ -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
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment