]> granicus.if.org Git - python/commitdiff
Fix #8946. Extra PyObject* parameter documented which doesn't exist.
authorBrian Curtin <brian.curtin@gmail.com>
Tue, 8 Jun 2010 22:27:07 +0000 (22:27 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Tue, 8 Jun 2010 22:27:07 +0000 (22:27 +0000)
Doc/c-api/buffer.rst

index d14fd80c2825b6aa191bd3f86cbc9a6bc85ac161..c2bc3e3f7162ec91c26e73b661485871c63d1675 100644 (file)
@@ -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 *)