diff options
author | luz.paz <luzpaz@users.noreply.github.com> | 2018-02-16 11:16:52 -0500 |
---|---|---|
committer | luz.paz <luzpaz@users.noreply.github.com> | 2018-02-16 11:16:52 -0500 |
commit | 6512040a6506f0fe501e4398b1a6375a80829b40 (patch) | |
tree | 5080a338024a8d065d1d6697a9034ce2c99f59bb | |
parent | 5c5a215fa1101479ae9b8d127be32679c9f3f105 (diff) | |
download | numpy-6512040a6506f0fe501e4398b1a6375a80829b40.tar.gz |
Misc. typos
Found via `codespell -q 3 -I ../numpy-whitelist.txt`
Whitelist consists of:
```
amin
ans
behaviour
cancellation
dum
initialise
ith
nd
ot
splitted
writeable
```
.
-rw-r--r-- | numpy/core/einsumfunc.py | 2 | ||||
-rw-r--r-- | numpy/core/tests/test_arrayprint.py | 2 | ||||
-rw-r--r-- | numpy/core/tests/test_multiarray.py | 2 | ||||
-rw-r--r-- | numpy/core/tests/test_scalar_ctors.py | 2 | ||||
-rw-r--r-- | numpy/f2py/setup.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/einsumfunc.py b/numpy/core/einsumfunc.py index 1190f063e..8cd6eae12 100644 --- a/numpy/core/einsumfunc.py +++ b/numpy/core/einsumfunc.py @@ -596,7 +596,7 @@ def einsum_path(*operands, **kwargs): -------- We can begin with a chain dot example. In this case, it is optimal to - contract the ``b`` and ``c`` tensors first as reprsented by the first + contract the ``b`` and ``c`` tensors first as represented by the first element of the path ``(1, 2)``. The resulting tensor is added to the end of the contraction and the remaining contraction ``(0, 1)`` is then completed. diff --git a/numpy/core/tests/test_arrayprint.py b/numpy/core/tests/test_arrayprint.py index 600a566db..d4c565c57 100644 --- a/numpy/core/tests/test_arrayprint.py +++ b/numpy/core/tests/test_arrayprint.py @@ -809,7 +809,7 @@ class TestContextManager(object): assert_equal(np.get_printoptions(), opts) def test_ctx_mgr_exceptions(self): - # test that print options are restored even if an exeption is raised + # test that print options are restored even if an exception is raised opts = np.get_printoptions() try: with np.printoptions(precision=2, linewidth=11): diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py index 3b92a0610..661561ab3 100644 --- a/numpy/core/tests/test_multiarray.py +++ b/numpy/core/tests/test_multiarray.py @@ -3341,7 +3341,7 @@ class TestTemporaryElide(object): # def incref_elide_l(d): # return l[4] + l[4] # PyNumber_Add without increasing refcount from numpy.core.multiarray_tests import incref_elide_l - # padding with 1 makes sure the object on the stack is not overwriten + # padding with 1 makes sure the object on the stack is not overwritten l = [1, 1, 1, 1, np.ones(100000)] res = incref_elide_l(l) # the return original should not be changed to an inplace operation diff --git a/numpy/core/tests/test_scalar_ctors.py b/numpy/core/tests/test_scalar_ctors.py index 13de36260..e2470779b 100644 --- a/numpy/core/tests/test_scalar_ctors.py +++ b/numpy/core/tests/test_scalar_ctors.py @@ -1,5 +1,5 @@ """ -Test the scalar contructors, which also do type-coercion +Test the scalar constructors, which also do type-coercion """ from __future__ import division, absolute_import, print_function diff --git a/numpy/f2py/setup.py b/numpy/f2py/setup.py index 3204129ec..73cb3b8bf 100644 --- a/numpy/f2py/setup.py +++ b/numpy/f2py/setup.py @@ -99,7 +99,7 @@ if __name__ == "__main__": 'Topic :: Software Development :: Code Generators', ] setup(version=version, - description="F2PY - Fortran to Python Interface Generaton", + description="F2PY - Fortran to Python Interface Generator", author="Pearu Peterson", author_email="pearu@cens.ioc.ee", maintainer="Pearu Peterson", |