zarr-developers / zarr-python

An implementation of chunked, compressed, N-dimensional arrays for Python.
http://zarr.readthedocs.io/
MIT License
1.44k stars 272 forks source link

narrow the type of drop_axes to just tuple[int, ...] #1938

Closed d-v-b closed 2 months ago

d-v-b commented 2 months ago

I think an empty tuple conveys "drop no axes" as effectively as None, with less code.

normanrz commented 2 months ago

Thanks!