diff options
author | Seth Troisi <sethtroisi@google.com> | 2019-09-17 14:32:40 -0700 |
---|---|---|
committer | Seth Troisi <sethtroisi@google.com> | 2019-09-17 14:32:40 -0700 |
commit | f7251261ade0fc235699c0a5d595c64790a3991a (patch) | |
tree | 747e3ccb92be5d77017059d01aa493ab4c3b2772 /doc/records.rst.txt | |
parent | 6e75b9ab7888e2d807893a8237811f97f605547e (diff) | |
download | numpy-f7251261ade0fc235699c0a5d595c64790a3991a.tar.gz |
Cleanup old_defines in documention
Diffstat (limited to 'doc/records.rst.txt')
-rw-r--r-- | doc/records.rst.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/records.rst.txt b/doc/records.rst.txt index a608880d7..3c0d55216 100644 --- a/doc/records.rst.txt +++ b/doc/records.rst.txt @@ -50,7 +50,7 @@ New possibilities for the "data-type" **Dictionary (keys "names", "titles", and "formats")** - This will be converted to a ``PyArray_VOID`` type with corresponding + This will be converted to a ``NPY_VOID`` type with corresponding fields parameter (the formats list will be converted to actual ``PyArray_Descr *`` objects). @@ -58,10 +58,10 @@ New possibilities for the "data-type" **Objects (anything with an .itemsize and .fields attribute)** If its an instance of (a sub-class of) void type, then a new ``PyArray_Descr*`` structure is created corresponding to its - typeobject (and ``PyArray_VOID``) typenumber. If the type is + typeobject (and ``NPY_VOID``) typenumber. If the type is registered, then the registered type-number is used. - Otherwise a new ``PyArray_VOID PyArray_Descr*`` structure is created + Otherwise a new ``NPY_VOID PyArray_Descr*`` structure is created and filled ->elsize and ->fields filled in appropriately. The itemsize attribute must return a number > 0. The fields |