Writes a heading into the buffer.
(self, heading: str)
| 202 | self.write("\n") |
| 203 | |
| 204 | def write_heading(self, heading: str) -> None: |
| 205 | """Writes a heading into the buffer.""" |
| 206 | self.write(f"{'':>{self.current_indent}}{heading}:\n") |
| 207 | |
| 208 | def write_paragraph(self) -> None: |
| 209 | """Writes a paragraph into the buffer.""" |