summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-03-15 09:48:02 -0600
committerGitHub <noreply@github.com>2018-03-15 09:48:02 -0600
commit83c669997a53ac5734327abd99da1813718503fc (patch)
tree27a53ea746e354013711d8b32eb4ecdf6d41599f
parent63d50a6516b5209164561cf91afc4944c88e0bf0 (diff)
parenteff0a76d79d93855bef1e3686ef20b3520b3ce0e (diff)
downloadpython-numpy-83c669997a53ac5734327abd99da1813718503fc.tar.gz
python-numpy-83c669997a53ac5734327abd99da1813718503fc.tar.bz2
python-numpy-83c669997a53ac5734327abd99da1813718503fc.zip
Merge pull request #10746 from hvy/fix-typo
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)