(value: Any)
| 530 | |
| 531 | |
| 532 | def _clone_default(value: Any) -> Any: |
| 533 | if isinstance(value, (dict, list, set, tuple)): |
| 534 | return copy.deepcopy(value) |
| 535 | return copy.copy(value) if hasattr(value, "__copy__") else value |
| 536 | |
| 537 | |
| 538 | class _ScopedDict(MutableMapping): |