Return an immutable copy of the current settings. Alias for a :meth:`~freeze` call in the object returned by :meth:`copy`.
(self)
| 640 | self.frozen = True |
| 641 | |
| 642 | def frozencopy(self) -> Self: |
| 643 | """ |
| 644 | Return an immutable copy of the current settings. |
| 645 | |
| 646 | Alias for a :meth:`~freeze` call in the object returned by :meth:`copy`. |
| 647 | """ |
| 648 | copy = self.copy() |
| 649 | copy.freeze() |
| 650 | return copy |
| 651 | |
| 652 | def __iter__(self) -> Iterator[_SettingsKey]: |
| 653 | return iter(self.attributes) |