diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2019-08-31 15:30:32 -0400 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2019-08-31 17:16:56 -0400 |
commit | 7c3adfb7436a37d995721f1c793e5e3ced6d9b7e (patch) | |
tree | 97aa8d8d41692111e73ad82baa20d5122d84dace /doc/source/reference/c-api | |
parent | 9b740ef1f7ccb8f5e0b5d018eb5fa4c26c7f0712 (diff) | |
download | numpy-7c3adfb7436a37d995721f1c793e5e3ced6d9b7e.tar.gz |
BUG: Fix comparison of fieldless structured arrays
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r-- | doc/source/reference/c-api/array.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst index a2b56cee7..215584b62 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -997,6 +997,9 @@ argument must be a :c:type:`PyObject *<PyObject>` that can be directly interpret called on flexible dtypes. Types that are attached to an array will always be sized, hence the array form of this macro not existing. + ..versionchanged:: 1.18.0 + For structured datatypes with no fields this function now return False. + .. c:function:: PyTypeNum_ISUSERDEF(num) .. c:function:: PyDataType_ISUSERDEF(descr) |