summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/c-api/buffer.rst6
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 *)