diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-08-24 16:24:52 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-08-27 07:27:01 -0600 |
commit | 770c94ef5ab2478bc9f5451f931613d7424459e1 (patch) | |
tree | 7a885fd8ac4dc5853c815628c2e6089afd6c94ff /doc/source/reference/c-api.iterator.rst | |
parent | 847404a650757ba8ab6dae3af937890230b00f84 (diff) | |
download | numpy-770c94ef5ab2478bc9f5451f931613d7424459e1.tar.gz |
DOC: missingdata: Add example of a C-API function supporting NA masks
Diffstat (limited to 'doc/source/reference/c-api.iterator.rst')
-rw-r--r-- | doc/source/reference/c-api.iterator.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/source/reference/c-api.iterator.rst b/doc/source/reference/c-api.iterator.rst index 4132ccf2b..0915f765e 100644 --- a/doc/source/reference/c-api.iterator.rst +++ b/doc/source/reference/c-api.iterator.rst @@ -551,9 +551,10 @@ Construction and Destruction .. cvar:: NPY_ITER_ALLOCATE This is for output arrays, and requires that the flag - :cdata:`NPY_ITER_WRITEONLY` be set. If ``op[i]`` is NULL, - creates a new array with the final broadcast dimensions, - and a layout matching the iteration order of the iterator. + :cdata:`NPY_ITER_WRITEONLY` or :cdata:`NPY_ITER_READWRITE` + be set. If ``op[i]`` is NULL, creates a new array with + the final broadcast dimensions, and a layout matching + the iteration order of the iterator. When ``op[i]`` is NULL, the requested data type ``op_dtypes[i]`` may be NULL as well, in which case it is |