Skip to content

Commit 1a30563

Browse files
committed
fix: ArrayOfIntOrBool typing
1 parent 3e43b1f commit 1a30563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from zarr.core.common import ChunkCoords
3535

3636
IntSequence = list[int] | npt.NDArray[np.intp]
37-
ArrayOfIntOrBool = npt.NDArray[np.intp] | npt.NDArray[np.bool_]
37+
ArrayOfIntOrBool = IntSequence | npt.NDArray[np.bool_]
3838
BasicSelector = int | slice | EllipsisType
3939
Selector = BasicSelector | ArrayOfIntOrBool
4040
BasicSelection = BasicSelector | tuple[BasicSelector, ...] # also used for BlockIndex

0 commit comments

Comments
 (0)