summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhvy <hiroyuki.vincent.yamazaki@gmail.com>2018-03-15 12:21:17 +0900
committerhvy <hiroyuki.vincent.yamazaki@gmail.com>2018-03-15 12:27:56 +0900
commiteff0a76d79d93855bef1e3686ef20b3520b3ce0e (patch)
tree7d6e0357d3bd0ff3fc4dbf3e0e430ce1a0f2ae73
parent020f2ad4e133b7500c7062d89368d38f19e836fd (diff)
downloadpython-numpy-eff0a76d79d93855bef1e3686ef20b3520b3ce0e.tar.gz
python-numpy-eff0a76d79d93855bef1e3686ef20b3520b3ce0e.tar.bz2
python-numpy-eff0a76d79d93855bef1e3686ef20b3520b3ce0e.zip
DOC: Fix typo in warning message
-rw-r--r--numpy/core/src/multiarray/shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/shape.c b/numpy/core/src/multiarray/shape.c
index 29c122bd3..05c24d6da 100644
--- a/numpy/core/src/multiarray/shape.c
+++ b/numpy/core/src/multiarray/shape.c
@@ -1078,7 +1078,7 @@ build_shape_string(npy_intp n, npy_intp *vals)
* WARNING: If an axis flagged for removal has a shape equal to zero,
* the array will point to invalid memory. The caller must
* validate this!
- * If an axis flagged for removal has a shape larger then one,
+ * If an axis flagged for removal has a shape larger than one,
* the aligned flag (and in the future the contiguous flags),
* may need explicit update.
* (check also NPY_RELAXED_STRIDES_CHECKING)