summaryrefslogtreecommitdiff
path: root/numpy/doc/swig/numpy.i
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-05-01 21:21:08 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-05-01 21:21:08 +0000
commit1e17c6afc5b0b838bf2dd2b7aa0630cc7ebc2765 (patch)
tree2570317053cfc6e20c789d9ef48db6284029357f /numpy/doc/swig/numpy.i
parent59bdc5fa4f2ae7425b13d9d33f6776c3d422014f (diff)
downloadnumpy-1e17c6afc5b0b838bf2dd2b7aa0630cc7ebc2765.tar.gz
Fix grammar.
Diffstat (limited to 'numpy/doc/swig/numpy.i')
-rw-r--r--numpy/doc/swig/numpy.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/swig/numpy.i b/numpy/doc/swig/numpy.i
index cb1ae6338..ac4a4f914 100644
--- a/numpy/doc/swig/numpy.i
+++ b/numpy/doc/swig/numpy.i
@@ -341,7 +341,7 @@
sprintf(s, " or %d", exact_dimensions[n-1]);
strcat(dims_str,s);
PyErr_Format(PyExc_TypeError,
- "Array must be have %s dimensions. Given array has %d dimensions",
+ "Array must have %s dimensions. Given array has %d dimensions",
dims_str, array_numdims(ary));
}
return success;
@@ -390,7 +390,7 @@
len = strlen(actual_dims);
actual_dims[len-1] = ']';
PyErr_Format(PyExc_TypeError,
- "Array must be have shape of %s. Given array has shape of %s",
+ "Array must have shape of %s. Given array has shape of %s",
desired_dims, actual_dims);
}
return success;