Skip to content

Commit 0c2a5eb

Browse files
committed
Fix typos, via a Levenshtein-style corrector
1 parent 6d69a9e commit 0c2a5eb

File tree

23 files changed

+29
-29
lines changed

23 files changed

+29
-29
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ endif
158158
@# the instructions in doc/HOWTO_RELEASE.rst.txt
159159
@echo " "
160160
@echo New documentation archive added to ./build/merge.
161-
@echo Now add/modify the appropiate section after
161+
@echo Now add/modify the appropriate section after
162162
@echo " <!-- insert here -->"
163163
@echo in build/merge/index.html,
164164
@echo then \"git commit\", \"git push\"

doc/neps/nep-0023-backwards-compatibility.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Policy
198198
can be made, *provided the benefit is worth the cost* and suitable deprecation
199199
warnings have been raised first.
200200
3. Deprecation warnings are in all cases warnings that functionality will be removed.
201-
If there is no intent to remove functionlity, then deprecation in documentation
201+
If there is no intent to remove functionality, then deprecation in documentation
202202
only or other types of warnings shall be used.
203203
4. Deprecations for stylistic reasons (e.g. consistency between functions) are
204204
strongly discouraged.

doc/neps/nep-0028-website-redesign.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ have a similar deployment to GitHub Pages or Netlify.
166166
Analytics
167167
~~~~~~~~~
168168

169-
It's benefical to maintainers to know how many visitors are coming to
169+
It's beneficial to maintainers to know how many visitors are coming to
170170
numpy.org. Google Analytics offers visitor counts and locations. This will
171171
help to support and deploy more strategically, and help maintainers
172172
understand where traffic is coming from.

doc/release/upcoming_changes/14933.compatibility.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ The promotion of mixed scalars and arrays in ``PyArray_ConvertToCommonType``
55
has been changed to adhere to those used by ``np.result_type``.
66
This means that input such as ``(1000, np.array([1], dtype=np.uint8)))``
77
will now return ``uint16`` dtypes. In most cases the behaviour is unchanged.
8-
Note that the use of this C-API function is generally discouarged.
8+
Note that the use of this C-API function is generally discouraged.
99
This also fixes ``np.choose`` to behave the same way as the rest of NumPy
1010
in this respect.

doc/source/dev/development_workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Suppose that the commit history looks like this::
303303
2dec1ac Fix a few bugs + disable
304304
13d7934 First implementation
305305
6ad92e5 * masked is now an instance of a new object, MaskedConstant
306-
29001ed Add pre-nep for a copule of structured_array_extensions.
306+
29001ed Add pre-nep for a couple of structured_array_extensions.
307307
...
308308

309309
and ``6ad92e5`` is the last commit in the ``master`` branch. Suppose we

doc/source/dev/governance/governance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ its interactions with NumFOCUS.
301301
or technical direction of the Project.
302302
- This Subcommittee will have 5 members, 4 of whom will be current
303303
Council Members and 1 of whom will be external to the Steering
304-
Council. No more than 2 Subcommitee Members can report to one person
304+
Council. No more than 2 Subcommittee Members can report to one person
305305
through employment or contracting work (including the reportee, i.e.
306306
the reportee + 1 is the max). This avoids effective majorities
307307
resting on one person.

doc/source/reference/c-api/coremath.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Those can be useful for precise floating point comparison.
193193
.. c:function:: int npy_get_floatstatus_barrier(char*)
194194
195195
Get floating point status. A pointer to a local variable is passed in to
196-
prevent aggressive compiler optimizations from reodering this function call
196+
prevent aggressive compiler optimizations from reordering this function call
197197
relative to the code setting the status, which could lead to incorrect
198198
results.
199199
@@ -219,7 +219,7 @@ Those can be useful for precise floating point comparison.
219219
.. c:function:: int npy_clear_floatstatus_barrier(char*)
220220
221221
Clears the floating point status. A pointer to a local variable is passed in to
222-
prevent aggressive compiler optimizations from reodering this function call.
222+
prevent aggressive compiler optimizations from reordering this function call.
223223
Returns the previous status mask.
224224
225225
.. versionadded:: 1.15.0

doc/source/reference/random/legacy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Distributions
125125
Functions in `numpy.random`
126126
===========================
127127
Many of the RandomState methods above are exported as functions in
128-
`numpy.random` This usage is discouraged, as it is implemented via a gloabl
128+
`numpy.random` This usage is discouraged, as it is implemented via a global
129129
`RandomState` instance which is not advised on two counts:
130130

131131
- It uses global state, which means results will change as the code changes

doc/source/release/1.17.0-notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ mergesort. Due to the need to maintain backward compatibility, the sorting
297297
``kind`` options ``"stable"`` and ``"mergesort"`` have been made aliases of
298298
each other with the actual sort implementation depending on the array type.
299299
Radix sort is used for small integer types of 16 bits or less and timsort for
300-
the remaining types. Timsort features improved performace on data containing
300+
the remaining types. Timsort features improved performance on data containing
301301
already or nearly sorted data and performs like mergesort on random data and
302302
requires :math:`O(n/2)` working space. Details of the timsort algorithm can be
303303
found at `CPython listsort.txt

numpy/_pytesttester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
whether or not that file is found as follows:
1616
1717
* ``pytest.ini`` is present (develop mode)
18-
All warnings except those explicily filtered out are raised as error.
18+
All warnings except those explicitly filtered out are raised as error.
1919
* ``pytest.ini`` is absent (release mode)
2020
DeprecationWarnings and PendingDeprecationWarnings are ignored, other
2121
warnings are passed through.

0 commit comments

Comments
 (0)