summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-01-25 00:33:14 -0800
committerDongjoon Hyun <dongjoon@apache.org>2016-01-25 00:33:14 -0800
commitdf9df7f7e8340f9389543a4389022c07dbaf2e0d (patch)
tree290411b3625a3cbed9713a006c53d234d723c5c7 /doc/source
parentd641eedd8214d89719ea8e0fa488232a1aae86bd (diff)
downloadnumpy-df9df7f7e8340f9389543a4389022c07dbaf2e0d.tar.gz
MAINT: Fix typos in docs
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/reference/arrays.ndarray.rst2
-rw-r--r--doc/source/reference/c-api.array.rst2
-rw-r--r--doc/source/reference/c-api.iterator.rst2
-rw-r--r--doc/source/reference/c-api.types-and-structures.rst2
-rw-r--r--doc/source/reference/distutils.rst2
-rw-r--r--doc/source/reference/swig.interface-file.rst2
-rw-r--r--doc/source/user/building.rst2
-rw-r--r--doc/source/user/c-info.ufunc-tutorial.rst2
8 files changed, 8 insertions, 8 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst
index 0f5fb92d7..201d01277 100644
--- a/doc/source/reference/arrays.ndarray.rst
+++ b/doc/source/reference/arrays.ndarray.rst
@@ -467,7 +467,7 @@ Truth value of an array (:func:`bool()`):
Truth-value testing of an array invokes
:meth:`ndarray.__nonzero__`, which raises an error if the number of
- elements in the the array is larger than 1, because the truth value
+ elements in the array is larger than 1, because the truth value
of such arrays is ambiguous. Use :meth:`.any() <ndarray.any>` and
:meth:`.all() <ndarray.all>` instead to be clear about what is meant
in such cases. (If the number of elements is 0, the array evaluates
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 32dace29f..aba5f9caa 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -268,7 +268,7 @@ From scratch
.. c:function:: PyObject* PyArray_SimpleNew(int nd, npy_intp* dims, int typenum)
- Create a new unitialized array of type, *typenum*, whose size in
+ Create a new uninitialized array of type, *typenum*, whose size in
each of *nd* dimensions is given by the integer array, *dims*.
This function cannot be used to create a flexible-type array (no
itemsize given).
diff --git a/doc/source/reference/c-api.iterator.rst b/doc/source/reference/c-api.iterator.rst
index 16beabcf0..b38c21390 100644
--- a/doc/source/reference/c-api.iterator.rst
+++ b/doc/source/reference/c-api.iterator.rst
@@ -487,7 +487,7 @@ Construction and Destruction
If the operand is flagged as write-only and a copy is needed,
an uninitialized temporary array will be created and then copied
to back to ``op[i]`` on destruction, instead of doing
- the unecessary copy operation.
+ the unnecessary copy operation.
.. c:var:: NPY_ITER_NBO
.. c:var:: NPY_ITER_ALIGNED
diff --git a/doc/source/reference/c-api.types-and-structures.rst b/doc/source/reference/c-api.types-and-structures.rst
index d7342bd9e..04c9bee35 100644
--- a/doc/source/reference/c-api.types-and-structures.rst
+++ b/doc/source/reference/c-api.types-and-structures.rst
@@ -219,7 +219,7 @@ PyArrayDescr_Type
represents signed integer, a 'u' represents unsigned integer, 'f'
represents floating point, 'c' represents complex floating point, 'S'
represents 8-bit character string, 'U' represents 32-bit/character
- unicode string, and 'V' repesents arbitrary.
+ unicode string, and 'V' represents arbitrary.
.. c:member:: char PyArray_Descr.type
diff --git a/doc/source/reference/distutils.rst b/doc/source/reference/distutils.rst
index 5d11a6d4c..7aed4e90d 100644
--- a/doc/source/reference/distutils.rst
+++ b/doc/source/reference/distutils.rst
@@ -305,7 +305,7 @@ for these files are:
equivalent to #name=item1, item2, item1, item2, item1, item2, item1,
item2#
-4. "\*/ "on a line by itself marks the end of the the variable expansion
+4. "\*/ "on a line by itself marks the end of the variable expansion
naming. The next line is the first line that will be repeated using
the named rules.
diff --git a/doc/source/reference/swig.interface-file.rst b/doc/source/reference/swig.interface-file.rst
index e5d369d0e..1d6fbe04d 100644
--- a/doc/source/reference/swig.interface-file.rst
+++ b/doc/source/reference/swig.interface-file.rst
@@ -905,7 +905,7 @@ Routines
* ``PyArrayObject* ary``, a NumPy array.
Require the given ``PyArrayObject`` to to be Fortran ordered. If
- the the ``PyArrayObject`` is already Fortran ordered, do nothing.
+ the ``PyArrayObject`` is already Fortran ordered, do nothing.
Else, set the Fortran ordering flag and recompute the strides.
diff --git a/doc/source/user/building.rst b/doc/source/user/building.rst
index 78dbc9fa2..5cb143f38 100644
--- a/doc/source/user/building.rst
+++ b/doc/source/user/building.rst
@@ -4,7 +4,7 @@ Building from source
====================
A general overview of building NumPy from source is given here, with detailed
-instructions for specific platforms given seperately.
+instructions for specific platforms given separately.
Prerequisites
-------------
diff --git a/doc/source/user/c-info.ufunc-tutorial.rst b/doc/source/user/c-info.ufunc-tutorial.rst
index 109e6adb5..ab97846a8 100644
--- a/doc/source/user/c-info.ufunc-tutorial.rst
+++ b/doc/source/user/c-info.ufunc-tutorial.rst
@@ -1172,7 +1172,7 @@ automatically generates a ufunc from a C function with the correct signature.
*unused*
- Unused; kept for compatiblity. Just set it to zero.
+ Unused; kept for compatibility. Just set it to zero.
.. index::
pair: ufunc; adding new