8000 DOC: Remove doc for non-existing `PyArray_XDECREF_ERR` · seiko2plus/numpy@88c789a · GitHub
[go: up one dir, main page]

Skip to content

Commit 88c789a

Browse files
committed
DOC: Remove doc for non-existing PyArray_XDECREF_ERR
The macro was removed, this is just a left over.
1 parent 95eeb2a commit 88c789a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

doc/source/reference/c-api/array.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3619,18 +3619,6 @@ Miscellaneous Macros
36193619
error when you are finished with ``obj``, just before ``Py_DECREF(obj)``.
36203620
It may be called multiple times, or with ``NULL`` input.
36213621
3622-
.. c:function:: void PyArray_XDECREF_ERR(PyObject* obj)
3623-
3624-
Deprecated in 1.14, use :c:func:`PyArray_DiscardWritebackIfCopy`
3625-
followed by ``Py_XDECREF``
3626-
3627-
DECREF's an array object which may have the
3628-
:c:data:`NPY_ARRAY_WRITEBACKIFCOPY`
3629-
flag set without causing the contents to be copied back into the
3630-
original array. Resets the :c:data:`NPY_ARRAY_WRITEABLE` flag on the base
3631-
object. This is useful for recovering from an error condition when
3632-
writeback semantics are used, but will lead to wrong results.
3633-
36343622
36353623
Enumerated Types
36363624
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0