From: Georg Brandl Date: Tue, 28 Dec 2010 11:08:17 +0000 (+0000) Subject: #10742: document readonly attribute of memoryviews. X-Git-Tag: v3.2rc1~309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c28036b532df67d0c1427b1abb2110024e33fd17;p=python #10742: document readonly attribute of memoryviews. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index db2c9589da..be0c8d5c3d 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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