summaryrefslogtreecommitdiff
path: root/numpy/doc
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-01-27 15:42:42 -0800
committerDongjoon Hyun <dongjoon@apache.org>2016-01-27 21:14:48 -0800
commit73a2fd11a74eedb97201fc8d54ea193e810ea9d3 (patch)
treea1ebf45fcdc82a939bedc61bde2e6a2836fae453 /numpy/doc
parent2b34f4bf652189e0415d5bf48ef7aa3294302871 (diff)
downloadpython-numpy-73a2fd11a74eedb97201fc8d54ea193e810ea9d3.tar.gz
python-numpy-73a2fd11a74eedb97201fc8d54ea193e810ea9d3.tar.bz2
python-numpy-73a2fd11a74eedb97201fc8d54ea193e810ea9d3.zip
MAINT: Fix some typos in a code string and comments
Diffstat (limited to 'numpy/doc')
-rw-r--r--numpy/doc/byteswapping.py2
-rw-r--r--numpy/doc/internals.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/byteswapping.py b/numpy/doc/byteswapping.py
index 59c049878..22eb71e6d 100644
--- a/numpy/doc/byteswapping.py
+++ b/numpy/doc/byteswapping.py
@@ -108,7 +108,7 @@ the correct endianness:
>>> fixed_end_dtype_arr[0]
1
-Note the the array has not changed in memory:
+Note the array has not changed in memory:
>>> fixed_end_dtype_arr.tobytes() == big_end_str
True
diff --git a/numpy/doc/internals.py b/numpy/doc/internals.py
index 6bd6b1ae9..c25872bc0 100644
--- a/numpy/doc/internals.py
+++ b/numpy/doc/internals.py
@@ -49,7 +49,7 @@ uses the same data buffer. This is why it is necessary to force copies through
use of the .copy() method if one really wants to make a new and independent
copy of the data buffer.
-New views into arrays mean the the object reference counts for the data buffer
+New views into arrays mean the object reference counts for the data buffer
increase. Simply doing away with the original array object will not remove the
data buffer if other views of it still exist.