From 688817e760b11b27481c9a9057fbfc633fc00774 Mon Sep 17 00:00:00 2001 From: Takanori H Date: Tue, 27 Oct 2020 08:12:35 +0900 Subject: Update doc/source/reference/c-api/array.rst Co-authored-by: Eric Wieser --- 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 7a3f0fb7c..3aa541b79 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -2960,7 +2960,7 @@ to. already a buffer object pointing to another object). If you need to hold on to the memory be sure to INCREF the base member. The chunk of memory is pointed to by *buf* ->ptr member and has length - *buf* ->len. The flags member of *buf* is :c:data:`NPY_ARRAY_BEHAVED` + *buf* ->len. The flags member of *buf* is :c:data:`NPY_ARRAY_ALIGNED` with the :c:data:`NPY_ARRAY_WRITEABLE` flag set if *obj* has a writeable buffer interface. -- cgit v1.2.1