summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/descriptor.c b/numpy/core/src/multiarray/descriptor.c
index 8691191ef..d761acd4a 100644
--- a/numpy/core/src/multiarray/descriptor.c
+++ b/numpy/core/src/multiarray/descriptor.c
@@ -483,7 +483,7 @@ _convert_from_array_descr(PyObject *obj, int align)
Py_INCREF(name);
}
else {
- PyErr_SetString(PyExc_TypeError, "Field names must be non-empty Unicode strings");
+ PyErr_SetString(PyExc_TypeError, "Field names must be non-empty strings");
goto fail;
}
}