(self, memo: dict[int, Any] | None = None)
| 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 |