We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25e6036 commit 88f68a5Copy full SHA for 88f68a5
zarr/indexing.py
@@ -116,7 +116,7 @@ def is_pure_orthogonal_indexing(selection, ndim):
116
sum(is_integer_list(elem) or is_integer_array(elem) for elem in selection) <= 1 and
117
all(
118
is_integer_list(elem) or is_integer_array(elem)
119
- or isinstance(elem, slice) or isinstance(elem, int) for
+ or isinstance(elem, (int, slice)) for
120
elem in selection)
121
)
122
0 commit comments