[Python-checkins] r74631 - python/trunk/Doc/c-api/buffer.rst
georg.brandl
python-checkins at python.org
Wed Sep 2 22:37:16 CEST 2009
Author: georg.brandl
Date: Wed Sep 2 22:37:16 2009
New Revision: 74631
Log:
#6821: fix signature of PyBuffer_Release().
Modified:
python/trunk/Doc/c-api/buffer.rst
Modified: python/trunk/Doc/c-api/buffer.rst
==============================================================================
--- python/trunk/Doc/c-api/buffer.rst (original)
+++ python/trunk/Doc/c-api/buffer.rst Wed Sep 2 22:37:16 2009
@@ -254,9 +254,9 @@
+------------------------------+---------------------------------------------------+
-.. 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.
More information about the Python-checkins
mailing list