diff options
author | David Cournapeau <cournape@gmail.com> | 2009-03-16 18:01:30 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-03-16 18:01:30 +0000 |
commit | e672f36e8d0b93b651f20a1dcdd5ab187c8bf2be (patch) | |
tree | 9be98bcf1ed8f38dbfb55484b87973e437535234 | |
parent | c931ce60930fcbe4903a8384499798bea8fdf29a (diff) | |
download | numpy-e672f36e8d0b93b651f20a1dcdd5ab187c8bf2be.tar.gz |
Fix exception message when the shape of a subarray is not a tuple.
-rw-r--r-- | numpy/core/src/hashdescr.c | 2 |
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; } |