summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-10-23 22:03:14 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-10-23 22:03:14 +0000
commit440a2627ac7d15de4b765279ce7546e66ddfa780 (patch)
tree1517c4f08f6ba2a0d12ad0dfd44d7140a0ff4c18 /numpy/core/src/arrayobject.c
parentce92c890b685c9a3c2d75f2265763f2226fd884b (diff)
downloadnumpy-440a2627ac7d15de4b765279ce7546e66ddfa780.tar.gz
Add ability to sort arrays with fields defined more intelligently.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r--numpy/core/src/arrayobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c
index 45983e84d..2aea422ae 100644
--- a/numpy/core/src/arrayobject.c
+++ b/numpy/core/src/arrayobject.c
@@ -5881,7 +5881,8 @@ array_shape_set(PyArrayObject *self, PyObject *val)
if (PyArray_DATA(ret) != PyArray_DATA(self)) {
Py_DECREF(ret);
PyErr_SetString(PyExc_AttributeError,
- "incompatible shape for a non-contiguous array");
+ "incompatible shape for a non-contiguous "\
+ "array");
return -1;
}