forked from zarr-developers/zarr-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove ScalarWrapper and update changes
- Loading branch information
1 parent
070c673
commit 655d464
Showing
2 changed files
with
4 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
0-dimensional arrays are now returning an instance of ``ScalarWrapper``, which behaves like a scalar | ||
but follow the ``NDArrayLike`` interface. This change is to make the behavior of 0-dimensional arrays | ||
consistent with ``numpy`` scalars while not breaking the output format of the ``NDArrayLike`` interface. | ||
0-dimensional arrays are now returning a scalar. Therefore, the return type of ``__getitem__`` changed | ||
to NDArrayOrScalarLike. This change is to make the behavior of 0-dimensional arrays consistent with | ||
``numpy`` scalars. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters