summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authorMSeifert04 <michaelseifert04@yahoo.de>2019-09-12 20:32:05 +0200
committerMSeifert04 <michaelseifert04@yahoo.de>2019-09-12 20:32:05 +0200
commitea1fddf81bccf701312c102c38eea25d685fb3f5 (patch)
tree52c0e66206ec0d691e427ebaf9f8be8208a30506 /doc/source/reference/c-api
parent2f81858f4f9d7185b4418f905e439ca8380fc3e2 (diff)
downloadnumpy-ea1fddf81bccf701312c102c38eea25d685fb3f5.tar.gz
DOC: Fix reference NPY_ARRAY_OWNDATA instead of NPY_OWNDATA.
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 8936a4752..4dd556e97 100644
--- a/doc/source/reference/c-api/array.rst
+++ b/doc/source/reference/c-api/array.rst
@@ -226,7 +226,7 @@ From scratch
If *data* is not ``NULL``, then it is assumed to point to the memory
to be used for the array and the *flags* argument is used as the
- new flags for the array (except the state of :c:data:`NPY_OWNDATA`,
+ new flags for the array (except the state of :c:data:`NPY_ARRAY_OWNDATA`,
:c:data:`NPY_ARRAY_WRITEBACKIFCOPY` and :c:data:`NPY_ARRAY_UPDATEIFCOPY`
flags of the new array will be reset).