[New-bugs-announce] [issue15855] memoryview methods are missing docstrings

Alexander Belopolsky report at bugs.python.org
Mon Sep 3 15:25:50 CEST 2012


New submission from Alexander Belopolsky:

With attached patch python -mpydoc memoryview display looks as follows:

...
 |  cast(...)
 |      M.cast(format[, shape]) -> memoryview
 |      
 |      Cast a memoryview to a new format or shape.
 |  
 |  release(...)
 |      M.release() -> None
 |      
 |      Release the underlying buffer exposed by the memoryview object.
 |  
 |  tobytes(...)
 |      M.tobytes() -> bytes
 |      
 |      Return the data in the buffer as a bytestring.
 |  
 |  tolist(...)
 |      M.tobytes() -> list
 |      
 |      Return the data in the buffer as a list of elements.

----------
files: memoryobject-docstrings.diff
keywords: patch
messages: 169762
nosy: belopolsky, skrah
priority: normal
severity: normal
status: open
title: memoryview methods are missing docstrings
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file27109/memoryobject-docstrings.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15855>
_______________________________________


More information about the New-bugs-announce mailing list