Skip to content

Commit 34d1704

Browse files
DOC: fix a couple typos found by codespell in NEPs
1 parent 0bf9c46 commit 34d1704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/neps/nep-0055-string_dtype.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ in the array buffer as a short string.
990990

991991
No matter where it is stored, once a string is initialized it is marked with the
992992
``NPY_STRING_INITIALIZED`` flag. This lets us clearly distinguish between an
993-
unitialized empty string and a string that has been mutated into the empty
993+
uninitialized empty string and a string that has been mutated into the empty
994994
string.
995995

996996
The size of the allocation is stored in the arena to allow reuse of the arena

doc/neps/nep-0056-array-api-main-namespace.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ three types of behavior rather than two - ``copy=None`` means "copy if needed".
302302
an exception because they use* ``copy=False`` *explicitly in their copy but a
303303
copy was previously made anyway, they have to inspect their code and determine
304304
whether the intent of the code was the old or the new semantics (both seem
305-
rougly equally likely), and adapt the code as appropriate. We expect most cases
305+
roughly equally likely), and adapt the code as appropriate. We expect most cases
306306
to be* ``np.array(..., copy=False)``, *because until a few years ago that had
307307
lower overhead than* ``np.asarray(...)``. *This was solved though, and*
308308
``np.asarray(...)`` *is idiomatic NumPy usage.*

0 commit comments

Comments
 (0)