Return a copy of the options. Returns: ConsoleOptions: a copy of self.
(self)
| 145 | return not self.encoding.startswith("utf") |
| 146 | |
| 147 | def copy(self) -> "ConsoleOptions": |
| 148 | """Return a copy of the options. |
| 149 | |
| 150 | Returns: |
| 151 | ConsoleOptions: a copy of self. |
| 152 | """ |
| 153 | options: ConsoleOptions = ConsoleOptions.__new__(ConsoleOptions) |
| 154 | options.__dict__ = self.__dict__.copy() |
| 155 | return options |
| 156 | |
| 157 | def update( |
| 158 | self, |
no outgoing calls
no test coverage detected