Skip to content

Commit

Permalink
Update _manipulation_functions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Sep 20, 2024
1 parent b269650 commit 218eba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/namedarray/_array_api/_manipulation_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def _set_dims(
>>> x_new.dims, x_new.shape
(('x', 'y'), (3, 2))
Error
Errors
>>> x = NamedArray(("x",), np.asarray([1, 2, 3]))
>>> x_new = _set_dims(x, (), None)
Expand Down

0 comments on commit 218eba1

Please sign in to comment.