summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2023-04-09 06:28:49 +0300
committerGitHub <noreply@github.com>2023-04-09 06:28:49 +0300
commit24de3a28d40d58844e4401274a2e9d195d77fa40 (patch)
tree6d4a91890245bd7f8dadf04cdda79fcd06bcf804 /doc/source/reference
parent6e26c3bff51ff35c2910e4d288fc02c5b80bad00 (diff)
parentc1dc1800c058f8d7254b996920d57443bd9d8b31 (diff)
downloadnumpy-24de3a28d40d58844e4401274a2e9d195d77fa40.tar.gz
Merge pull request #23560 from F3eQnxN3RriK/doc-fix-parameter-type
DOC: Fix parameter type of `PyArray_DiscardWritebackIfCopy`
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/c-api/array.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst
index 6abcae576..c135fc6eb 100644
--- a/doc/source/reference/c-api/array.rst
+++ b/doc/source/reference/c-api/array.rst
@@ -3581,7 +3581,7 @@ Miscellaneous Macros
Returns the reference count of any Python object.
-.. c:function:: void PyArray_DiscardWritebackIfCopy(PyObject* obj)
+.. c:function:: void PyArray_DiscardWritebackIfCopy(PyArrayObject* obj)
If ``obj->flags`` has :c:data:`NPY_ARRAY_WRITEBACKIFCOPY`, this function
clears the flags, `DECREF` s