summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-01-25 13:58:20 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2022-01-29 06:04:34 -0800
commit829be860b68ffb9deb8d191531310e00a4c1e198 (patch)
treec350ee44d8fe37034ba23cb0205d89bb80b014c9
parent000f38ff677df466f73d91f22699973faf5c3daf (diff)
downloadnumpy-829be860b68ffb9deb8d191531310e00a4c1e198.tar.gz
MAINT: Fix `dtypes` to be PyArray_DTypeMeta and not object
-rw-r--r--numpy/core/include/numpy/experimental_dtype_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/experimental_dtype_api.h b/numpy/core/include/numpy/experimental_dtype_api.h
index 159e76f94..0e2284a99 100644
--- a/numpy/core/include/numpy/experimental_dtype_api.h
+++ b/numpy/core/include/numpy/experimental_dtype_api.h
@@ -193,7 +193,7 @@ typedef struct {
int nin, nout;
NPY_CASTING casting;
NPY_ARRAYMETHOD_FLAGS flags;
- PyObject **dtypes; /* array of DType class objects */
+ PyArray_DTypeMeta **dtypes;
PyType_Slot *slots;
} PyArrayMethod_Spec;