summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/array.rst
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2023-03-28 03:56:45 +0300
committerGitHub <noreply@github.com>2023-03-28 03:56:45 +0300
commit08e778407064c37d6f814e0c59065344dea1ec2a (patch)
tree724897b77d8fe1f8fb24413daefe09f3f0249588 /doc/source/reference/c-api/array.rst
parent91c328239dca41d03a05d26b30265c54715af1da (diff)
parent61bf3316663e978604394e23289812e29998842b (diff)
downloadnumpy-08e778407064c37d6f814e0c59065344dea1ec2a.tar.gz
Merge pull request #23473 from F3eQnxN3RriK/maint-link-writebackifcopy
DOC: Fix a wrong format of reference
Diffstat (limited to 'doc/source/reference/c-api/array.rst')
-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 65244f69e..79949acc7 100644
--- a/doc/source/reference/c-api/array.rst
+++ b/doc/source/reference/c-api/array.rst
@@ -1490,7 +1490,7 @@ of the constant names is deprecated in 1.7.
:c:func:`PyArray_FromAny` and a copy had to be made of some other
array (and the user asked for this flag to be set in such a
situation). The base attribute then points to the "misbehaved"
- array (which is set read_only). :c:func`PyArray_ResolveWritebackIfCopy`
+ array (which is set read_only). :c:func:`PyArray_ResolveWritebackIfCopy`
will copy its contents back to the "misbehaved"
array (casting if necessary) and will reset the "misbehaved" array
to :c:data:`NPY_ARRAY_WRITEABLE`. If the "misbehaved" array was not