8000 Merge pull request #25593 from Cogito/migration-guide-typos · asmeurer/numpy@87e1c54 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87e1c54

Browse files
authored
Merge pull request numpy#25593 from Cogito/migration-guide-typos
DOC: fix typos in 2.0 migration guide
2 parents 39ab2d4 + 3afbbcc commit 87e1c54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/source/numpy_2_0_migration_guide.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ language it may help to explicitly cast to a ``long``, for example with:
2424
``arr = arr.astype("long", copy=False)``.
2525

2626
Libraries interfacing with compiled code that are written in C, Cython, or
27-
a similar language may require updating to accomodate user input if they
27+
a similar language may require updating to accommodate user input if they
2828
are using the ``long`` or equivalent type on the C-side.
2929
In this case, you may wish to use ``intp`` and cast user input or support
3030
both ``long`` and ``intp`` (to better support NumPy 1.x as well).
@@ -36,8 +36,8 @@ Note that the NumPy random API is not affected by this change.
3636

3737
C-API Changes
3838
=============
39-
Some definitions where removed or replaced due to being outdated or
40-
unmaintaibale. Some new API definition will evaluate differently at
39+
Some definitions were removed or replaced due to being outdated or
40+
unmaintainable. Some new API definition will evaluate differently at
4141
runtime between NumPy 2.0 and NumPy 1.x.
4242
Some are defined in ``numpy/_core/include/numpy/npy_2_compat.h``
4343
(for example ``NPY_DEFAULT_INT``) which can be vendored in full or part
@@ -73,7 +73,7 @@ Namespace changes
7373
=================
7474

7575
In NumPy 2.0 certain functions, modules, and constants were moved or removed
76-
to make the NumPy namespace more userfriendly by removing unnecessary or
76+
to make the NumPy namespace more user-friendly by removing unnecessary or
7777
outdated functionality and clarifying which parts of NumPy are considered
7878
private.
7979
Please see the tables below for guidance on migration. For most changes this

0 commit comments

Comments
 (0)
0