(self, memo: dict[int, Any] | None = None)
| 469 | return self.copy(deep=False) |
| 470 | |
| 471 | def __deepcopy__(self, memo: dict[int, Any] | None = None) -> Index: |
| 472 | return self._copy(deep=True, memo=memo) |
| 473 | |
| 474 | def _copy(self, deep: bool = True, memo: dict[int, Any] | None = None) -> Self: |
| 475 | cls = self.__class__ |