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

Method __copy__

xarray/core/treenode.py:293–294  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

291 return new_empty_node
292
293 def __copy__(self) -> Self:
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)

Callers

nothing calls this directly

Calls 1

_copy_subtreeMethod · 0.95

Tested by

no test coverage detected