summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-09-08 17:05:52 +0200
committerGitHub <noreply@github.com>2019-09-08 17:05:52 +0200
commitf786041db9697f58b087e18198561db8b28235c4 (patch)
tree677f6b90d2c867d2828ebc01cd9eb6afdf44b166 /doc/source/reference
parent495d352bf325f44d78001f059d625123e49f027e (diff)
parentd6f7524defc808f32219528350429d5569696183 (diff)
downloadnumpy-f786041db9697f58b087e18198561db8b28235c4.tar.gz
Merge pull request #14393 from ahaldane/fix_fieldless_view_itemsize
BUG: view with fieldless dtype should raise if itemsize != 0
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/c-api/array.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst
index a2b56cee7..8936a4752 100644
--- a/doc/source/reference/c-api/array.rst
+++ b/doc/source/reference/c-api/array.rst
@@ -997,6 +997,10 @@ 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
+
+ For structured datatypes with no fields this function now returns False.
+
.. c:function:: PyTypeNum_ISUSERDEF(num)
.. c:function:: PyDataType_ISUSERDEF(descr)