Skip to content

Commit

Permalink
Update _typing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Apr 12, 2024
1 parent cd095f2 commit 519702c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/namedarray/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def __getitem__(
) -> _arrayfunction[Any, _DType_co] | Any: ...

def __array__(
self, dtype: _dtype | None = ..., /
self, dtype: _dtype[_generic] | None = ..., /
) -> np.ndarray[Any, np.dtype[np.generic]]: ...

# TODO: Should return the same subclass but with a new dtype generic.
Expand Down

0 comments on commit 519702c

Please sign in to comment.