Mercurial > cpython-lru_cache-weakref
diff Doc/c-api/buffer.rst @ 62199:d32b0e80faac
Fix #8946. Extra PyObject* parameter documented which doesn't exist.
| author | Brian Curtin <brian.curtin@gmail.com> |
|---|---|
| date | Tue, 08 Jun 2010 22:27:07 +0000 |
| parents | 57433b833b2a |
| children | 7d9baf649f2d |
line wrap: on
line diff
--- a/Doc/c-api/buffer.rst Tue Jun 08 21:45:51 2010 +0000 +++ b/Doc/c-api/buffer.rst Tue Jun 08 22:27:07 2010 +0000 @@ -249,10 +249,10 @@ +------------------------------+---------------------------------------------------+ -.. 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 *)
