summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2009-04-09 06:26:18 +0000
committerCharles Harris <charlesr.harris@gmail.com>2009-04-09 06:26:18 +0000
commit85eb59a8b2625296310bb8628177792cc506a509 (patch)
tree5331ca51c43ea839612232d1c997b51f8ab1a3bd /numpy/core/src/arrayobject.c
parentbc936c7253108e2e2d39860841821ec128922c8c (diff)
downloadnumpy-85eb59a8b2625296310bb8628177792cc506a509.tar.gz
Simplify regression test and make error message for oversized array more
informative.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r--numpy/core/src/arrayobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c
index 69dd6a408..d351aa119 100644
--- a/numpy/core/src/arrayobject.c
+++ b/numpy/core/src/arrayobject.c
@@ -5928,7 +5928,7 @@ PyArray_NewFromDescr(PyTypeObject *subtype, PyArray_Descr *descr, int nd,
}
if (dim > largest) {
PyErr_SetString(PyExc_ValueError,
- "dimensions too large.");
+ "array is too big.");
Py_DECREF(descr);
return NULL;
}