]> granicus.if.org Git - python/commitdiff
Merged revisions 81851 via svnmerge from
authorBrian Curtin <brian.curtin@gmail.com>
Tue, 8 Jun 2010 22:30:34 +0000 (22:30 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Tue, 8 Jun 2010 22:30:34 +0000 (22:30 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81851 | brian.curtin | 2010-06-08 17:27:07 -0500 (Tue, 08 Jun 2010) | 2 lines

  Fix #8946. Extra PyObject* parameter documented which doesn't exist.
........

Doc/c-api/buffer.rst

index ec44a9966d637504b0889af8a2bf26a6341d40b2..af8a3a0fb58e34049588623af55568c274920a28 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 *)