(self, name: str, content: str, sep: str = "-")
| 1284 | ) |
| 1285 | |
| 1286 | def addsection(self, name: str, content: str, sep: str = "-") -> None: |
| 1287 | self.sections.append((name, content, sep)) |
| 1288 | |
| 1289 | def toterminal(self, tw: TerminalWriter) -> None: |
| 1290 | for name, content, sep in self.sections: |