Skip to content

Commit eec0f41

Browse files
Redundant list comprehension (#2048)
1 parent 37a8441 commit eec0f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def __init__(self, selection: CoordinateSelection, shape: ChunkCoords, chunk_gri
10361036
# flatten selection
10371037
selection_broadcast = tuple(dim_sel.reshape(-1) for dim_sel in selection_broadcast)
10381038
chunks_multi_index_broadcast = tuple(
1039-
[dim_chunks.reshape(-1) for dim_chunks in chunks_multi_index_broadcast]
1039+
dim_chunks.reshape(-1) for dim_chunks in chunks_multi_index_broadcast
10401040
)
10411041

10421042
# ravel chunk indices

0 commit comments

Comments
 (0)