@@ -24,7 +24,7 @@ language it may help to explicitly cast to a ``long``, for example with:
24
24
``arr = arr.astype("long", copy=False) ``.
25
25
26
26
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
28
28
are using the ``long `` or equivalent type on the C-side.
29
29
In this case, you may wish to use ``intp `` and cast user input or support
30
30
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.
36
36
37
37
C-API Changes
38
38
=============
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
41
41
runtime between NumPy 2.0 and NumPy 1.x.
42
42
Some are defined in ``numpy/_core/include/numpy/npy_2_compat.h ``
43
43
(for example ``NPY_DEFAULT_INT ``) which can be vendored in full or part
@@ -73,7 +73,7 @@ Namespace changes
73
73
=================
74
74
75
75
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
77
77
outdated functionality and clarifying which parts of NumPy are considered
78
78
private.
79
79
Please see the tables below for guidance on migration. For most changes this
0 commit comments