Skip to content

Commit 304eb19

Browse files
committed
remove pseudocode for inplace binary ops
1 parent 399c6e1 commit 304eb19

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

xarray/core/datatree.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,14 +1518,7 @@ def _inplace_binary_op(self, other, f) -> Self:
15181518
"a grouped object are not permitted"
15191519
)
15201520

1521-
# TODO requires an implementation of map_over_subtree_inplace
1522-
#
1523-
# ds_inplace_binop = functools.partial(
1524-
# Dataset._inplace_binary_op,
1525-
# f=f,
1526-
# )
1527-
#
1528-
# return map_over_subtree_inplace(ds_inplace_binop)(self, other)
1521+
# TODO see GH issue #9629 for required implementation
15291522
raise NotImplementedError()
15301523

15311524
# TODO: dirty workaround for mypy 1.5 error with inherited DatasetOpsMixin vs. Mapping

0 commit comments

Comments
 (0)