Flush data that is left in the buffer.
(self)
| 295 | self.text(close) |
| 296 | |
| 297 | def flush(self): |
| 298 | """Flush data that is left in the buffer.""" |
| 299 | for data in self.buffer: |
| 300 | self.output_width += data.output(self.output, self.output_width) |
| 301 | self.buffer.clear() |
| 302 | self.buffer_width = 0 |
| 303 | |
| 304 | |
| 305 | def _get_mro(obj_class): |