summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authoryuki <drsuaimqjgar@gmail.com>2023-03-27 06:12:38 +0000
committeryuki <drsuaimqjgar@gmail.com>2023-03-27 06:12:38 +0000
commit61bf3316663e978604394e23289812e29998842b (patch)
tree811df4304246ddbb74858617738109bf8d1a5416 /doc/source/reference/c-api
parent7761175e3df8ef30b09e2d71113251cd2de8f6f9 (diff)
downloadnumpy-61bf3316663e978604394e23289812e29998842b.tar.gz
MAINT: Fix a wrong format of reference
Diffstat (limited to 'doc/source/reference/c-api')
-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