MCPcopy Index your code
hub / github.com/pydata/xarray / __deepcopy__

Method __deepcopy__

xarray/core/treenode.py:296–297  ·  view source on GitHub ↗
(self, memo: dict[int, Any] | None = None)

Source from the content-addressed store, hash-verified

294 return self._copy_subtree(inherit=True, deep=False)
295
296 def __deepcopy__(self, memo: dict[int, Any] | None = None) -> Self:
297 return self._copy_subtree(inherit=True, deep=True, memo=memo)
298
299 def _iter_parents(self) -> Iterator[Self]:
300 """Iterate up the tree, starting from the current node's parent."""

Callers

nothing calls this directly

Calls 1

_copy_subtreeMethod · 0.95

Tested by

no test coverage detected