Skip to content

Commit f1cb6e1

Browse files
committed
Revert "returning npt.ArrayLike instead of NDArrayLike because of scalar return values"
This reverts commit 3348439
1 parent b55c8b3 commit f1cb6e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@ def _iter_chunk_regions(
22082208

22092209
def __array__(
22102210
self, dtype: npt.DTypeLike | None = None, copy: bool | None = None
2211-
) -> npt.ArrayLike:
2211+
) -> NDArrayLike:
22122212
"""
22132213
This method is used by numpy when converting zarr.Array into a numpy array.
22142214
For more information, see https://numpy.org/devdocs/user/basics.interoperability.html#the-array-method

0 commit comments

Comments
 (0)