(self)
| 369 | return lines |
| 370 | |
| 371 | def flush(self) -> list[str]: |
| 372 | if not self.buffer and not self.trailing_cr: |
| 373 | return [] |
| 374 | |
| 375 | lines = ["".join(self.buffer)] |
| 376 | self.buffer = [] |
| 377 | self.trailing_cr = False |
| 378 | return lines |
| 379 | |
| 380 | |
| 381 | SUPPORTED_DECODERS = { |
no test coverage detected