Flush data that is left in the buffer.
(self)
| 313 | self.text(close) |
| 314 | |
| 315 | def flush(self): |
| 316 | """Flush data that is left in the buffer.""" |
| 317 | for data in self.buffer: |
| 318 | self.output_width += data.output(self.output, self.output_width) |
| 319 | self.buffer.clear() |
| 320 | self.buffer_width = 0 |
| 321 | |
| 322 | |
| 323 | def _get_mro(obj_class): |