diff options
author | Georg Brandl <georg@python.org> | 2009-09-02 20:37:16 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-02 20:37:16 (GMT) |
commit | eb4781c2798c350009bf9ab62b21dc27944fddbc (patch) | |
tree | 681e53bdfcd7963d73df9008575323955e64613b /Doc/c-api | |
parent | 6fcf9b50bc13d757096822ba996fa3c122b70c6b (diff) | |
download | cpython-eb4781c2798c350009bf9ab62b21dc27944fddbc.zip cpython-eb4781c2798c350009bf9ab62b21dc27944fddbc.tar.gz cpython-eb4781c2798c350009bf9ab62b21dc27944fddbc.tar.bz2 |
#6821: fix signature of PyBuffer_Release().
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/buffer.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index 78b284b..72afcfd 100644 --- a/Doc/c-api/buffer.rst +++ b/Doc/c-api/buffer.rst @@ -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. |