From ea1fddf81bccf701312c102c38eea25d685fb3f5 Mon Sep 17 00:00:00 2001 From: MSeifert04 Date: Thu, 12 Sep 2019 20:32:05 +0200 Subject: DOC: Fix reference NPY_ARRAY_OWNDATA instead of NPY_OWNDATA. --- doc/source/reference/c-api/array.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source/reference') 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). -- cgit v1.2.1