diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2023-03-31 07:15:03 +0200 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2023-03-31 07:15:03 +0200 |
| commit | 88c789a30d1c4b558d579d9e22163be857a5aae4 (patch) | |
| tree | 71193eac7c06e6d4c7ed8c01809f725b3f5b01f4 /doc/source/reference | |
| parent | 95eeb2a45f76062bcf77101fcd14067ca8075166 (diff) | |
| download | numpy-88c789a30d1c4b558d579d9e22163be857a5aae4.tar.gz | |
DOC: Remove doc for non-existing `PyArray_XDECREF_ERR`
The macro was removed, this is just a left over.
Diffstat (limited to 'doc/source/reference')
| -rw-r--r-- | doc/source/reference/c-api/array.rst | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst index 79949acc7..a787c7ac1 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -3619,18 +3619,6 @@ Miscellaneous Macros error when you are finished with ``obj``, just before ``Py_DECREF(obj)``. It may be called multiple times, or with ``NULL`` input. -.. c:function:: void PyArray_XDECREF_ERR(PyObject* obj) - - Deprecated in 1.14, use :c:func:`PyArray_DiscardWritebackIfCopy` - followed by ``Py_XDECREF`` - - DECREF's an array object which may have the - :c:data:`NPY_ARRAY_WRITEBACKIFCOPY` - flag set without causing the contents to be copied back into the - original array. Resets the :c:data:`NPY_ARRAY_WRITEABLE` flag on the base - object. This is useful for recovering from an error condition when - writeback semantics are used, but will lead to wrong results. - Enumerated Types ~~~~~~~~~~~~~~~~ |
