Skip to content

Commit 6d04c07

Browse files
committed
docstring
1 parent 7cc60a1 commit 6d04c07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/zarr/core/dtype/npy/int.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@ def _check_native_dtype(cls: type[Self], dtype: TBaseDType) -> TypeGuard[np.dtyp
425425
"""
426426
A type guard that checks if the input is assignable to the type of ``cls.dtype_class``
427427
428+
This method is overridden for this particular data type because of a windows-specific issue where
429+
np.dtype('i') is an instance of ``np.dtypes.IntDType``, not an instance of ``np.dtypes.Int32DType``.
430+
428431
Parameters
429432
----------
430433
dtype : TDType

0 commit comments

Comments
 (0)