summaryrefslogtreecommitdiff
path: root/numpy/__init__.pxd
diff options
context:
space:
mode:
authorjbrockmendel <jbrockmendel@gmail.com>2020-05-21 15:03:36 -0700
committerjbrockmendel <jbrockmendel@gmail.com>2020-05-21 15:03:45 -0700
commit690a0ab4c65bb828b73526ad9064d7495fdbd6b6 (patch)
tree2e5a899d172f2607fe24b412d22080c6ca8665b8 /numpy/__init__.pxd
parent97c157f7dd89f8517f52d865518b4a0a6de5effa (diff)
downloadnumpy-690a0ab4c65bb828b73526ad9064d7495fdbd6b6.tar.gz
Fix np.dtype declaration
Diffstat (limited to 'numpy/__init__.pxd')
-rw-r--r--numpy/__init__.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/__init__.pxd b/numpy/__init__.pxd
index c288ba223..c265cdedb 100644
--- a/numpy/__init__.pxd
+++ b/numpy/__init__.pxd
@@ -221,7 +221,7 @@ cdef extern from "numpy/arrayobject.h":
cdef int type_num
cdef int itemsize "elsize"
cdef int alignment
- cdef dict fields
+ cdef object fields
cdef tuple names
# Use PyDataType_HASSUBARRAY to test whether this field is
# valid (the pointer can be NULL). Most users should access