[Numpy-discussion] Error in API docs?

Henry Gomersall whg21 at cam.ac.uk
Fri Oct 29 08:32:20 EDT 2010


There is an inconsistency in the documentation for NPY_INOUT_ARRAY.

cf.
http://docs.scipy.org/doc/numpy/user/c-info.how-to-extend.html#NPY_INOUT_ARRAY
http://docs.scipy.org/doc/numpy/reference/c-api.array.html#NPY_INOUT_ARRAY

The first link includes the flag NPY_UPDATEIFCOPY. Checking the code
seems to confirm that the correct version is that in the first link, and
also that NPY_OUT_ARRAY is wrong in the API docs.

I haven't checked NPY_INOUT_FARRAY or NPY_OUT_FARRAY.

Cheers,

Henry




More information about the NumPy-Discussion mailing list