Skip to content

Commit c2a0de0

Browse files
committed
fix typo
1 parent f8393b0 commit c2a0de0

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
@@ -1245,7 +1245,7 @@ async def _get_selection(
12451245
drop_axes=indexer.drop_axes,
12461246
)
12471247
if indexer.shape == ():
1248-
return cast(out_buffer.as_numpy_array().item(), npt.ArrayLike)
1248+
return cast(npt.ArrayLike, out_buffer.as_numpy_array().item())
12491249
return out_buffer.as_ndarray_like()
12501250

12511251
async def getitem(

0 commit comments

Comments
 (0)