diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-06-08 22:27:07 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-06-08 22:27:07 (GMT) |
commit | 1fbd36b51d1bf65bc110e51840bede646b58f2d5 (patch) | |
tree | 628109ad58c006a4964261df26e01d7c9c6593f0 /Doc/c-api/buffer.rst | |
parent | 5216e6d598ce7bbc542f5e443073dbc03306c143 (diff) | |
download | cpython-1fbd36b51d1bf65bc110e51840bede646b58f2d5.zip cpython-1fbd36b51d1bf65bc110e51840bede646b58f2d5.tar.gz cpython-1fbd36b51d1bf65bc110e51840bede646b58f2d5.tar.bz2 |
Fix #8946. Extra PyObject* parameter documented which doesn't exist.
Diffstat (limited to 'Doc/c-api/buffer.rst')
-rw-r--r-- | Doc/c-api/buffer.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index d14fd80..c2bc3e3 100644 --- a/Doc/c-api/buffer.rst +++ b/Doc/c-api/buffer.rst @@ -249,10 +249,10 @@ Buffer related functions +------------------------------+---------------------------------------------------+ -.. cfunction:: void PyBuffer_Release(PyObject *obj, Py_buffer *view) +.. cfunction:: void PyBuffer_Release(Py_buffer *view) - Release the buffer *view* over *obj*. This should be called when the buffer - is no longer being used as it may free memory from it. + Release the buffer *view*. This should be called when the buffer is no + longer being used as it may free memory from it. .. cfunction:: Py_ssize_t PyBuffer_SizeFromFormat(const char *) |