(self, *colours: str)
| 215 | self.set_style("reset") |
| 216 | |
| 217 | def set_style(self, *colours: str): |
| 218 | if self.use_colour: |
| 219 | sys.stdout.write("".join([self.colours[c] for c in colours])) |
| 220 | |
| 221 | def print(self, txt: str, end: Optional[str] = None): |
| 222 | if end is not None: |
no test coverage detected