[Numpy-svn] r3469 - trunk/numpy/core/src

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Dec 1 23:40:05 CST 2006


Author: oliphant
Date: 2006-12-01 23:40:00 -0600 (Fri, 01 Dec 2006)
New Revision: 3469

Modified:
   trunk/numpy/core/src/arrayobject.c
Log:
Add space to error message.

Modified: trunk/numpy/core/src/arrayobject.c
===================================================================
--- trunk/numpy/core/src/arrayobject.c	2006-12-02 05:07:35 UTC (rev 3468)
+++ trunk/numpy/core/src/arrayobject.c	2006-12-02 05:40:00 UTC (rev 3469)
@@ -3881,7 +3881,7 @@
 array_index(PyArrayObject *v)
 {
         if (v->nd != 0 || !PyArray_ISINTEGER(v)) {
-                PyErr_SetString(PyExc_TypeError, "only 0-d integer"     \
+                PyErr_SetString(PyExc_TypeError, "only 0-d integer "     \
                                 "arrays can be converted to an index");
                 return NULL;
         }



More information about the Numpy-svn mailing list