mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
#10742: document readonly attribute of memoryviews.
This commit is contained in:
parent
b12fd63468
commit
c28036b532
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue