diff options
| author | Georg Brandl <georg@python.org> | 2010-12-28 11:08:17 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-12-28 11:08:17 +0000 |
| commit | c28036b532df67d0c1427b1abb2110024e33fd17 (patch) | |
| tree | 8988dd39834ecc8386dab28ce3728efc923d786f /Doc/library | |
| parent | b12fd63468187eee6bcfed87d2aac085f9472d05 (diff) | |
| download | cpython-git-c28036b532df67d0c1427b1abb2110024e33fd17.tar.gz | |
#10742: document readonly attribute of memoryviews.
Diffstat (limited to 'Doc/library')
| -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 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 |
