]> granicus.if.org Git - python/commitdiff
#6821: fix signature of PyBuffer_Release().
authorGeorg Brandl <georg@python.org>
Wed, 2 Sep 2009 20:37:16 +0000 (20:37 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 2 Sep 2009 20:37:16 +0000 (20:37 +0000)
Doc/c-api/buffer.rst

index 78b284ba54f8d3b712507ed8a15b5af84a4de294..72afcfd961b1664ce2073a4b1bed6c523c9acefe 100644 (file)
@@ -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.