Skip to content

Commit

Permalink
Update xarray/core/variable.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan authored Aug 22, 2024
1 parent 10a8662 commit 83ebadc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions xarray/core/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1653,11 +1653,6 @@ def reduce( # type: ignore[override]
Array with summarized data and the indicated dimension(s)
removed.
"""
if dim is None:
from xarray.namedarray._typing import _default

dim = _default

keep_attrs_ = (
_get_keep_attrs(default=False) if keep_attrs is None else keep_attrs
)
Expand Down

0 comments on commit 83ebadc

Please sign in to comment.