Skip to content

Commit c027af9

Browse files
committed
Wording updates from review
1 parent c2d5700 commit c027af9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ versions prior to 2.0. Note that the commit history in this repository is
88
extracted from the git history of numpy/array_api/ (see the [README](README.md)).
99

1010
Additionally, the following changes are new to `array_api_strict` from
11-
`numpy.array_api` in NumPy 1.26 (the last major NumPy release to include
11+
`numpy.array_api` in NumPy 1.26 (the last NumPy feature release to include
1212
`numpy.array_api`):
1313

1414
- ``array_api_strict`` was made more portable. In particular:

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ strict/minimal:
8888
standard are included. All signatures in array-api-strict use
8989
[positional-only
9090
arguments](https://data-apis.org/array-api/latest/API_specification/function_and_method_signatures.html#function-and-method-signatures).
91-
As noted above, only array_api_strict array objects are accepted by
91+
As noted above, only `array_api_strict` array objects are accepted by
9292
functions, except in the places where the standard allows Python scalars
93-
(i.e., functions to not automatically call `asarray` on their inputs).
93+
(i.e., functions do not automatically call `asarray` on their inputs).
9494

9595
- Only those [dtypes that are defined in the
9696
standard](https://data-apis.org/array-api/latest/API_specification/data_types.html)
@@ -106,7 +106,9 @@ strict/minimal:
106106

107107
- The
108108
[indexing](https://data-apis.org/array-api/latest/API_specification/indexing.html)
109-
semantics required by the standard are not
109+
semantics required by the standard are limited compared to those implemented
110+
by NumPy (e.g., out-of-bounds slices are not supported, integer array
111+
indexing is not supported, only a single boolean array index is supported).
110112

111113
- There are no distinct "scalar" objects as in NumPy. There are only 0-D
112114
arrays.
@@ -118,7 +120,7 @@ strict/minimal:
118120

119121
- The array object type itself is private and should not be accessed.
120122
Subclassing or otherwise trying to directly initialize this object is not
121-
supported. Arrays should created with one of the [array creation
123+
supported. Arrays should be created with one of the [array creation
122124
functions](https://data-apis.org/array-api/latest/API_specification/creation_functions.html)
123125
such as `asarray`.
124126

0 commit comments

Comments
 (0)