[Python-checkins] r87531 - python/branches/py3k/Doc/library/stdtypes.rst

georg.brandl python-checkins at python.org
Tue Dec 28 12:08:17 CET 2010


Author: georg.brandl
Date: Tue Dec 28 12:08:17 2010
New Revision: 87531

Log:
#10742: document readonly attribute of memoryviews.

Modified:
   python/branches/py3k/Doc/library/stdtypes.rst

Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst	(original)
+++ python/branches/py3k/Doc/library/stdtypes.rst	Tue Dec 28 12:08:17 2010
@@ -2433,6 +2433,10 @@
       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
 
 


More information about the Python-checkins mailing list