summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/hashdescr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/hashdescr.c b/numpy/core/src/hashdescr.c
index b02825a98..b1f2bc01e 100644
--- a/numpy/core/src/hashdescr.c
+++ b/numpy/core/src/hashdescr.c
@@ -166,7 +166,7 @@ static int _array_descr_walk_subarray(PyArray_ArrayDescr* adescr, PyObject *l)
PyList_Append(l, adescr->shape);
} else {
PyErr_SetString(PyExc_SystemError,
- "(Hash) Shape of subarray dtype an tuple ???");
+ "(Hash) Shape of subarray dtype neither a tuple or int ???");
return -1;
}