#10742: document readonly attribute of memoryviews.

This commit is contained in:
Georg Brandl 2010-12-28 11:08:17 +00:00
parent b12fd63468
commit c28036b532
1 changed files with 4 additions and 0 deletions

View File

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