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

Method __deepcopy__

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

Source from the content-addressed store, hash-verified

1363 return self._copy(deep=False)
1364
1365 def __deepcopy__(self, memo: dict[int, Any] | None = None) -> Self:
1366 return self._copy(deep=True, memo=memo)
1367
1368 # mutable objects should not be Hashable
1369 # https://github.com/python/mypy/issues/4266

Callers

nothing calls this directly

Calls 1

_copyMethod · 0.95

Tested by

no test coverage detected