From eabe143de0ed6b2580d8932ee5452f41014d02fb Mon Sep 17 00:00:00 2001 From: Jaime Fernandez Date: Sun, 9 Jul 2017 00:10:22 +0200 Subject: DOC: UPDATEIFCOPY raises an error if not an array. --- doc/source/reference/c-api.array.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/source') diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst index b00919fae..913a2d882 100644 --- a/doc/source/reference/c-api.array.rst +++ b/doc/source/reference/c-api.array.rst @@ -455,8 +455,7 @@ From other objects is deleted (presumably after your calculations are complete), its contents will be copied back into *op* and the *op* array will be made writeable again. If *op* is not writeable to begin - with, then an error is raised. If *op* is not already an array, - then this flag has no effect. + with, or if it is not already an array, then an error is raised. .. c:var:: NPY_ARRAY_BEHAVED -- cgit v1.2.1