Make a deep copy of current settings. This method returns a new instance of the :class:`Settings` class, populated with the same values and their priorities. Modifications to the new object won't be reflected on the original settings.
(self)
| 618 | raise TypeError("Trying to modify an immutable Settings object") |
| 619 | |
| 620 | def copy(self) -> Self: |
| 621 | """ |
| 622 | Make a deep copy of current settings. |
| 623 | |
| 624 | This method returns a new instance of the :class:`Settings` class, |
| 625 | populated with the same values and their priorities. |
| 626 | |
| 627 | Modifications to the new object won't be reflected on the original |
| 628 | settings. |
| 629 | """ |
| 630 | return copy.deepcopy(self) |
| 631 | |
| 632 | def freeze(self) -> None: |
| 633 | """ |
no test coverage detected