Skip to content

Commit d6bfeb0

Browse files
authored
Merge pull request numpy#27344 from vaerksted/main
MAINT: fix typos
2 parents f3b3dc5 + 21886d2 commit d6bfeb0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+54
-54
lines changed

.spin/cmds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def lint(ctx, branch, uncommitted):
508508
Examples:
509509
510510
\b
511-
For lint checks of your development brach with `main` or a custom branch:
511+
For lint checks of your development branch with `main` or a custom branch:
512512
513513
\b
514514
$ spin lint # defaults to main

benchmarks/benchmarks/bench_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def setup(self, num_lines):
8888
# unfortunately, timeit will only run setup()
8989
# between repeat events, but not for iterations
9090
# within repeats, so the StringIO object
91-
# will have to be rewinded in the benchmark proper
91+
# will have to be rewound in the benchmark proper
9292
self.data_comments = StringIO('\n'.join(data))
9393

9494
def time_comment_loadtxt_csv(self, num_lines):

doc/neps/nep-0021-advanced-indexing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ eventualities.
649649
Copyright
650650
---------
651651

652-
This document is placed under the CC0 1.0 Universell (CC0 1.0) Public Domain Dedication [1]_.
652+
This document is placed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication [1]_.
653653

654654

655655
References and footnotes

doc/neps/nep-0048-spending-project-funds.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ a volunteer in a reasonable amount of time.
125125
There are also many tasks, activities, and projects outside of
126126
development work that are important and could enhance the project or community
127127
- think of, for example, user surveys, translations, outreach, dedicated
128-
mentoring of newcomers, community organizating, website improvements, and
128+
mentoring of newcomers, community organizing, website improvements, and
129129
administrative tasks.
130130

131131
Time of people to perform tasks is also not the only thing that funds can be

doc/neps/nep-0053-c-abi-evolution.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ a user to:
253253
yet compatible.
254254

255255
The import of ``numpy2_compat`` (and an error when it is missing) will be
256-
inserted by the NumPy eaders as part of the ``import_array()`` call.
256+
inserted by the NumPy headers as part of the ``import_array()`` call.
257257

258258
Alternatives
259259
============

doc/source/f2py/f2py-testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class present in ``util.py``.
4545

4646
This class many helper functions for parsing and compiling test source files. Its child
4747
classes can override its ``sources`` data member to provide their own source files.
48-
This superclass will then compile the added source files upon object creation andtheir
48+
This superclass will then compile the added source files upon object creation and their
4949
functions will be appended to ``self.module`` data member. Thus, the child classes will
5050
be able to access the fortran functions specified in source file by calling
5151
``self.module.[fortran_function_name]``.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2920,7 +2920,7 @@ of this useful approach to looping over an array from C.
29202920
29212921
.. c:function:: void PyArray_ITER_NEXT(PyObject* iterator)
29222922
2923-
Incremement the index and the dataptr members of the *iterator* to
2923+
Increment the index and the dataptr members of the *iterator* to
29242924
point to the next element of the array. If the array is not
29252925
(C-style) contiguous, also increment the N-dimensional coordinates
29262926
array.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Conversion functions
194194
195195
Returns the string length to use for converting datetime
196196
objects with the given local time and unit settings to strings.
197-
Use this when constructings strings to supply to
197+
Use this when constructing strings to supply to
198198
``NpyDatetime_MakeISO8601Datetime``.
199199
200200
.. c:function:: int NpyDatetime_MakeISO8601Datetime(\

doc/source/reference/simd/build-options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Behaviors
203203
# is equivalent to
204204
python -m build --wheel -Csetup-args=-Dcpu-baseline="sse sse2 sse3 ssse3 sse41 popcnt sse42"
205205

206-
- ``cpu-dispatch`` does not combain any of implied CPU features,
206+
- ``cpu-dispatch`` does not combine any of implied CPU features,
207207
so you must add them unless you want to disable one or all of them::
208208

209209
# Only dispatches AVX2 and FMA3

doc/source/reference/simd/how-it-works.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ through ``--cpu-dispatch``, but it can also represent other options such as:
201201
#define NPY__CPU_TARGET_AVX2
202202
#define NPY__CPU_TARGET_AVX512F
203203
// our dispatch-able source
204-
#include "/the/absuolate/path/of/hello.dispatch.c"
204+
#include "/the/absolute/path/of/hello.dispatch.c"
205205
206206
- **(D) Dispatch-able configuration header**: The infrastructure
207207
generates a config header for each dispatch-able source, this header
@@ -234,7 +234,7 @@ through ``--cpu-dispatch``, but it can also represent other options such as:
234234
// the additional optimizations, so it could be SSE42 or AVX512F
235235
#define CURRENT_TARGET(X) NPY_CAT(NPY_CAT(X, _), NPY__CPU_TARGET_CURRENT)
236236
#endif
237-
// Macro 'CURRENT_TARGET' adding the current target as suffux to the exported symbols,
237+
// Macro 'CURRENT_TARGET' adding the current target as suffix to the exported symbols,
238238
// to avoid linking duplications, NumPy already has a macro called
239239
// 'NPY_CPU_DISPATCH_CURFX' similar to it, located at
240240
// numpy/numpy/_core/src/common/npy_cpu_dispatch.h

0 commit comments

Comments
 (0)