diff options
author | Georg Brandl <georg@python.org> | 2010-12-28 11:08:17 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-12-28 11:08:17 (GMT) |
commit | c28036b532df67d0c1427b1abb2110024e33fd17 (patch) | |
tree | 8988dd39834ecc8386dab28ce3728efc923d786f | |
parent | b12fd63468187eee6bcfed87d2aac085f9472d05 (diff) | |
download | cpython-c28036b532df67d0c1427b1abb2110024e33fd17.zip cpython-c28036b532df67d0c1427b1abb2110024e33fd17.tar.gz cpython-c28036b532df67d0c1427b1abb2110024e33fd17.tar.bz2 |
#10742: document readonly attribute of memoryviews.
-rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index db2c958..be0c8d5 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 |