From: Georg Brandl Date: Wed, 2 Sep 2009 20:37:16 +0000 (+0000) Subject: #6821: fix signature of PyBuffer_Release(). X-Git-Tag: v2.7a1~597 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb4781c2798c350009bf9ab62b21dc27944fddbc;p=python #6821: fix signature of PyBuffer_Release(). --- diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index 78b284ba54..72afcfd961 100644 --- a/Doc/c-api/buffer.rst +++ b/Doc/c-api/buffer.rst @@ -254,9 +254,9 @@ 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 + Release the buffer *view*. This should be called when the buffer is no longer being used as it may free memory from it.