summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2020-05-22 11:23:20 +0200
committerGitHub <noreply@github.com>2020-05-22 11:23:20 +0200
commita7e65a0bfced15f1ebee9c9d4a6b49d6008007a6 (patch)
treea322732cb45c1e8477b89d82221d625458f9d9db /numpy
parentf9da4870612b1e47e3f7e9a64bf1716081745e2a (diff)
parent6dfce7f498a9ee7f4cb396105270793ddc828e80 (diff)
downloadnumpy-a7e65a0bfced15f1ebee9c9d4a6b49d6008007a6.tar.gz
Merge pull request #16333 from kevmo/homogeneous-16324
DOC: Fix spelling typo - homogenous to homogeneous. (#16324)
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_multiarray.py2
-rw-r--r--numpy/doc/glossary.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py
index fc2ab94e6..2edcc680b 100644
--- a/numpy/core/tests/test_multiarray.py
+++ b/numpy/core/tests/test_multiarray.py
@@ -929,7 +929,7 @@ class TestCreation:
d = np.empty(i, dtype='U')
str(d)
- def test_sequence_non_homogenous(self):
+ def test_sequence_non_homogeneous(self):
assert_equal(np.array([4, 2**80]).dtype, object)
assert_equal(np.array([4, 2**80, 4]).dtype, object)
assert_equal(np.array([2**80, 4]).dtype, object)
diff --git a/numpy/doc/glossary.py b/numpy/doc/glossary.py
index 16a3b9241..31130559b 100644
--- a/numpy/doc/glossary.py
+++ b/numpy/doc/glossary.py
@@ -169,7 +169,7 @@ Glossary
Collapsed to a one-dimensional array. See `numpy.ndarray.flatten`
for details.
- homogenous
+ homogeneous
Describes a block of memory comprised of blocks, each block comprised of
items and of the same size, and blocks are interpreted in exactly the
same way. In the simplest case each block contains a single item, for