[issue10742] memoryview.readonly attribute is not documented

New submission from flashk <flashk@gmail.com>: The 'readonly' attribute is not explicitly described, even though it is used in the sample code for the memoryview type. I've attached a patch that adds a description of the 'readonly' attribute. ---------- assignee: docs@python components: Documentation files: stdtypes.diff keywords: patch messages: 124403 nosy: docs@python, flashk priority: normal severity: normal status: open title: memoryview.readonly attribute is not documented versions: Python 2.7 Added file: http://bugs.python.org/file20121/stdtypes.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10742> _______________________________________

Changes by Antoine Pitrou <pitrou@free.fr>: ---------- nosy: +mark.dickinson, ncoghlan _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10742> _______________________________________

Terry J. Reedy <tjreedy@udel.edu> added the comment: I agree with addition. Patch look OK to my limited .rst knowledge. To be more parallel to the other entries, the text might say "A bool indicating whether ..." ---------- nosy: +terry.reedy stage: -> patch review versions: +Python 3.1, Python 3.2 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10742> _______________________________________

Georg Brandl <georg@python.org> added the comment: Added in r87531. ---------- nosy: +georg.brandl resolution: -> fixed status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10742> _______________________________________
participants (4)
-
Antoine Pitrou
-
flashk
-
Georg Brandl
-
Terry J. Reedy