Fix #8946. Extra PyObject* parameter documented which doesn't exist.
This commit is contained in:
parent
5216e6d598
commit
1fbd36b51d
|
@ -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
|
Release the buffer *view*. This should be called when the buffer is no
|
||||||
is no longer being used as it may free memory from it.
|
longer being used as it may free memory from it.
|
||||||
|
|
||||||
|
|
||||||
.. cfunction:: Py_ssize_t PyBuffer_SizeFromFormat(const char *)
|
.. cfunction:: Py_ssize_t PyBuffer_SizeFromFormat(const char *)
|
||||||
|
|
Loading…
Reference in New Issue