Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: obsolete reference to NPY_OWNDATA #8623

Closed
AntoineD opened this issue Feb 16, 2017 · 2 comments · Fixed by #14536
Closed

doc: obsolete reference to NPY_OWNDATA #8623

AntoineD opened this issue Feb 16, 2017 · 2 comments · Fixed by #14536

Comments

@AntoineD
Copy link
Contributor

In numpy/doc/source/reference/c-api.array.rst, shouldn't it be NPY_ARRAY_OWNDATA instead?

@mattip
Copy link
Member

mattip commented Aug 28, 2019

It would be nice to go through all the NPY_* in numpy/core/include/numpy/old_defines.h and make sure none of them are still in the documentation

@sethtroisi
Copy link
Contributor

cat ./numpy/core/include/numpy/old_defines.h | grep '^#define [a-zA-Z0-9_-]*' | awk '{print $2}' | xargs -I {} sh -c 'echo {}; echo; grep --exclude old_defines.h -r "\b{}\b" .'
# Omitting all symbols with no matches

OLD_DEFINES_H
./numpy/core/include/numpy/npy_no_deprecated_api.h:    defined(OLD_DEFINES_H)

NDARRAY_VERSION
./numpy/core/_add_newdocs.py:    Return the compile time NDARRAY_VERSION number.

PyArray_VOID
./doc/records.rst.txt:  This will be converted to a ``PyArray_VOID`` type with corresponding
./doc/records.rst.txt:  typeobject (and ``PyArray_VOID``) typenumber.  If the type is
./doc/records.rst.txt:  Otherwise a new ``PyArray_VOID PyArray_Descr*`` structure is created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants