diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2008-05-01 21:21:08 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2008-05-01 21:21:08 +0000 |
commit | 1e17c6afc5b0b838bf2dd2b7aa0630cc7ebc2765 (patch) | |
tree | 2570317053cfc6e20c789d9ef48db6284029357f /numpy/doc/swig/numpy.i | |
parent | 59bdc5fa4f2ae7425b13d9d33f6776c3d422014f (diff) | |
download | numpy-1e17c6afc5b0b838bf2dd2b7aa0630cc7ebc2765.tar.gz |
Fix grammar.
Diffstat (limited to 'numpy/doc/swig/numpy.i')
-rw-r--r-- | numpy/doc/swig/numpy.i | 4 |
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; |