summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorNicholas Nadeau, P.Eng., AVS <nnadeau@users.noreply.github.com>2018-04-23 16:53:18 -0400
committerCharles Harris <charlesr.harris@gmail.com>2018-04-23 14:53:17 -0600
commita043c3ed2a08fc42fd2eff6669a862c5cb045bfc (patch)
tree3b739a87844d3440f1ce324472012e0654cbcd85 /numpy/lib
parentf2888dbfc440cc3023b751fb7a5d91b9817fc271 (diff)
downloadnumpy-a043c3ed2a08fc42fd2eff6669a862c5cb045bfc.tar.gz
MAINT, DOC: Fix typos (#10958)
* fixed doc typo * fixed lib typos * fixed lapack_lite typos * Revert "fixed lapack_lite typos" This reverts commit e7dada860cb73af190234402508ab79965ecd079.
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/npyio.py2
-rw-r--r--numpy/lib/tests/test_io.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 59379bdda..67585443b 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -936,7 +936,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None,
if encoding is not None:
fencoding = encoding
# we must assume local encoding
- # TOOD emit portability warning?
+ # TODO emit portability warning?
elif fencoding is None:
import locale
fencoding = locale.getpreferredencoding()
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py
index 0ce44f28b..f58c9e33d 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -937,7 +937,7 @@ class TestLoadTxt(LoadTxtBase):
assert_equal(res, tgt)
def test_complex_misformatted(self):
- # test for backward compatability
+ # test for backward compatibility
# some complex formats used to generate x+-yj
a = np.zeros((2, 2), dtype=np.complex128)
re = np.pi