summaryrefslogtreecommitdiff
path: root/numpy/core/src/multiarray
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-09-12 15:22:21 -0700
committerRoss Barnowski <rossbar@berkeley.edu>2022-09-12 15:22:21 -0700
commitcca7f77299b0b158c4064a6448b56f75f81b16e8 (patch)
treeb8f62652a39e43ff88b4d0be37aaa9744d03ebe5 /numpy/core/src/multiarray
parent71155e9331cd30dbb37732a74fca5f23ab734aa4 (diff)
downloadnumpy-cca7f77299b0b158c4064a6448b56f75f81b16e8.tar.gz
DOC: Update concatenate exception message.
Add missing word to correct exception message when concatenate axes don't match.
Diffstat (limited to 'numpy/core/src/multiarray')
-rw-r--r--numpy/core/src/multiarray/multiarraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/multiarraymodule.c b/numpy/core/src/multiarray/multiarraymodule.c
index f8e7d37c3..618119443 100644
--- a/numpy/core/src/multiarray/multiarraymodule.c
+++ b/numpy/core/src/multiarray/multiarraymodule.c
@@ -436,7 +436,7 @@ PyArray_ConcatenateArrays(int narrays, PyArrayObject **arrays, int axis,
/* Validate that the rest of the dimensions match */
else if (shape[idim] != arr_shape[idim]) {
PyErr_Format(PyExc_ValueError,
- "all the input array dimensions for the "
+ "all the input array dimensions except for the "
"concatenation axis must match exactly, but "
"along dimension %d, the array at index %d has "
"size %d and the array at index %d has size %d",