summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-12-19 18:08:10 +0200
committerGitHub <noreply@github.com>2019-12-19 18:08:10 +0200
commita9bb517554004cf2ce7a4be93bcbfb63ee149844 (patch)
tree94ccf767fe0a811933a295255554e57a9a8b6d33 /doc
parent3cf092bb872257efb47a814ab3fb8e0bfd8f61b4 (diff)
parent0c2a5eb42c0cddf6844880f1494ddf7765bf9c7b (diff)
downloadnumpy-a9bb517554004cf2ce7a4be93bcbfb63ee149844.tar.gz
Merge pull request #15129 from bwignall/typo_leven
DOC: Fix typos, via a Levenshtein-style corrector
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile2
-rw-r--r--doc/neps/nep-0023-backwards-compatibility.rst2
-rw-r--r--doc/neps/nep-0028-website-redesign.rst2
-rw-r--r--doc/release/upcoming_changes/14933.compatibility.rst2
-rw-r--r--doc/source/dev/development_workflow.rst2
-rw-r--r--doc/source/dev/governance/governance.rst2
-rw-r--r--doc/source/reference/c-api/coremath.rst4
-rw-r--r--doc/source/reference/random/legacy.rst2
-rw-r--r--doc/source/release/1.17.0-notes.rst2
9 files changed, 10 insertions, 10 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 74272fa50..199a22c34 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -158,7 +158,7 @@ endif
@# the instructions in doc/HOWTO_RELEASE.rst.txt
@echo " "
@echo New documentation archive added to ./build/merge.
- @echo Now add/modify the appropiate section after
+ @echo Now add/modify the appropriate section after
@echo " <!-- insert here -->"
@echo in build/merge/index.html,
@echo then \"git commit\", \"git push\"
diff --git a/doc/neps/nep-0023-backwards-compatibility.rst b/doc/neps/nep-0023-backwards-compatibility.rst
index 158b08f1f..92974ad6e 100644
--- a/doc/neps/nep-0023-backwards-compatibility.rst
+++ b/doc/neps/nep-0023-backwards-compatibility.rst
@@ -198,7 +198,7 @@ Policy
can be made, *provided the benefit is worth the cost* and suitable deprecation
warnings have been raised first.
3. Deprecation warnings are in all cases warnings that functionality will be removed.
- If there is no intent to remove functionlity, then deprecation in documentation
+ If there is no intent to remove functionality, then deprecation in documentation
only or other types of warnings shall be used.
4. Deprecations for stylistic reasons (e.g. consistency between functions) are
strongly discouraged.
diff --git a/doc/neps/nep-0028-website-redesign.rst b/doc/neps/nep-0028-website-redesign.rst
index b418ca831..dcd182d55 100644
--- a/doc/neps/nep-0028-website-redesign.rst
+++ b/doc/neps/nep-0028-website-redesign.rst
@@ -166,7 +166,7 @@ have a similar deployment to GitHub Pages or Netlify.
Analytics
~~~~~~~~~
-It's benefical to maintainers to know how many visitors are coming to
+It's beneficial to maintainers to know how many visitors are coming to
numpy.org. Google Analytics offers visitor counts and locations. This will
help to support and deploy more strategically, and help maintainers
understand where traffic is coming from.
diff --git a/doc/release/upcoming_changes/14933.compatibility.rst b/doc/release/upcoming_changes/14933.compatibility.rst
index b939fec7f..1b5f1b113 100644
--- a/doc/release/upcoming_changes/14933.compatibility.rst
+++ b/doc/release/upcoming_changes/14933.compatibility.rst
@@ -5,6 +5,6 @@ The promotion of mixed scalars and arrays in ``PyArray_ConvertToCommonType``
has been changed to adhere to those used by ``np.result_type``.
This means that input such as ``(1000, np.array([1], dtype=np.uint8)))``
will now return ``uint16`` dtypes. In most cases the behaviour is unchanged.
-Note that the use of this C-API function is generally discouarged.
+Note that the use of this C-API function is generally discouraged.
This also fixes ``np.choose`` to behave the same way as the rest of NumPy
in this respect.
diff --git a/doc/source/dev/development_workflow.rst b/doc/source/dev/development_workflow.rst
index 900431374..9f2ecede6 100644
--- a/doc/source/dev/development_workflow.rst
+++ b/doc/source/dev/development_workflow.rst
@@ -303,7 +303,7 @@ Suppose that the commit history looks like this::
2dec1ac Fix a few bugs + disable
13d7934 First implementation
6ad92e5 * masked is now an instance of a new object, MaskedConstant
- 29001ed Add pre-nep for a copule of structured_array_extensions.
+ 29001ed Add pre-nep for a couple of structured_array_extensions.
...
and ``6ad92e5`` is the last commit in the ``master`` branch. Suppose we
diff --git a/doc/source/dev/governance/governance.rst b/doc/source/dev/governance/governance.rst
index 54e52363c..d8719700f 100644
--- a/doc/source/dev/governance/governance.rst
+++ b/doc/source/dev/governance/governance.rst
@@ -301,7 +301,7 @@ its interactions with NumFOCUS.
or technical direction of the Project.
- This Subcommittee will have 5 members, 4 of whom will be current
Council Members and 1 of whom will be external to the Steering
- Council. No more than 2 Subcommitee Members can report to one person
+ Council. No more than 2 Subcommittee Members can report to one person
through employment or contracting work (including the reportee, i.e.
the reportee + 1 is the max). This avoids effective majorities
resting on one person.
diff --git a/doc/source/reference/c-api/coremath.rst b/doc/source/reference/c-api/coremath.rst
index 7e00322f9..4200f4ba8 100644
--- a/doc/source/reference/c-api/coremath.rst
+++ b/doc/source/reference/c-api/coremath.rst
@@ -193,7 +193,7 @@ Those can be useful for precise floating point comparison.
.. c:function:: int npy_get_floatstatus_barrier(char*)
Get floating point status. A pointer to a local variable is passed in to
- prevent aggressive compiler optimizations from reodering this function call
+ prevent aggressive compiler optimizations from reordering this function call
relative to the code setting the status, which could lead to incorrect
results.
@@ -219,7 +219,7 @@ Those can be useful for precise floating point comparison.
.. c:function:: int npy_clear_floatstatus_barrier(char*)
Clears the floating point status. A pointer to a local variable is passed in to
- prevent aggressive compiler optimizations from reodering this function call.
+ prevent aggressive compiler optimizations from reordering this function call.
Returns the previous status mask.
.. versionadded:: 1.15.0
diff --git a/doc/source/reference/random/legacy.rst b/doc/source/reference/random/legacy.rst
index 922d76a9a..91b91dac8 100644
--- a/doc/source/reference/random/legacy.rst
+++ b/doc/source/reference/random/legacy.rst
@@ -125,7 +125,7 @@ Distributions
Functions in `numpy.random`
===========================
Many of the RandomState methods above are exported as functions in
-`numpy.random` This usage is discouraged, as it is implemented via a gloabl
+`numpy.random` This usage is discouraged, as it is implemented via a global
`RandomState` instance which is not advised on two counts:
- It uses global state, which means results will change as the code changes
diff --git a/doc/source/release/1.17.0-notes.rst b/doc/source/release/1.17.0-notes.rst
index a0e737982..a93eb2186 100644
--- a/doc/source/release/1.17.0-notes.rst
+++ b/doc/source/release/1.17.0-notes.rst
@@ -297,7 +297,7 @@ mergesort. Due to the need to maintain backward compatibility, the sorting
``kind`` options ``"stable"`` and ``"mergesort"`` have been made aliases of
each other with the actual sort implementation depending on the array type.
Radix sort is used for small integer types of 16 bits or less and timsort for
-the remaining types. Timsort features improved performace on data containing
+the remaining types. Timsort features improved performance on data containing
already or nearly sorted data and performs like mergesort on random data and
requires :math:`O(n/2)` working space. Details of the timsort algorithm can be
found at `CPython listsort.txt