diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-10-24 15:27:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 15:27:19 +0300 |
commit | beac56601587e26563d83b0a47cd0b1f006bf5d6 (patch) | |
tree | 881066e67e4837a3040704ea21bff24e0c01c62e /doc/source/reference/c-api/array.rst | |
parent | c0043831c46ec07fdc34999d664af654ada0825f (diff) | |
parent | becc3bc83421677530abfe54c4757ed6adcc822b (diff) | |
download | numpy-beac56601587e26563d83b0a47cd0b1f006bf5d6.tar.gz |
Merge pull request #17619 from takanori-pskq/i13114-fix-misc
DOC: Fix some references
Diffstat (limited to 'doc/source/reference/c-api/array.rst')
-rw-r--r-- | doc/source/reference/c-api/array.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst index 68547fd45..ae39f980f 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -1335,7 +1335,7 @@ Special functions for NPY_OBJECT locations in the structure with object data-types. No checking is performed but *arr* must be of data-type :c:type:`NPY_OBJECT` and be single-segment and uninitialized (no previous objects in - position). Use :c:func:`PyArray_DECREF` (*arr*) if you need to + position). Use :c:func:`PyArray_XDECREF` (*arr*) if you need to decrement all the items in the object array prior to calling this function. @@ -1354,7 +1354,7 @@ Special functions for NPY_OBJECT strides, ordering, etc.) Sets the :c:data:`NPY_ARRAY_WRITEBACKIFCOPY` flag and ``arr->base``, and set ``base`` to READONLY. Call :c:func:`PyArray_ResolveWritebackIfCopy` before calling - `Py_DECREF`` in order copy any changes back to ``base`` and + `Py_DECREF` in order copy any changes back to ``base`` and reset the READONLY flag. Returns 0 for success, -1 for failure. |