(self, memo: dict[int, Any] | None = None)
| 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.""" |
nothing calls this directly
no test coverage detected