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 <rep...@bugs.python.org> <http://bugs.python.org/issue15855> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com