(self, content, *fmt, indent=0)
| 354 | self._cur_indent = self._cur_indent[:-4] |
| 355 | |
| 356 | def _write(self, content, *fmt, indent=0): |
| 357 | if indent < 0: |
| 358 | self._unindent() |
| 359 | |
| 360 | self._fout.write(self._cur_indent) |
| 361 | if fmt: |
| 362 | content = content % fmt |
| 363 | self._fout.write(content) |
| 364 | self._fout.write("\n") |
| 365 | |
| 366 | if indent > 0: |
| 367 | self._indent() |
| 368 | |
| 369 | |
| 370 | class PyWriter(IndentWriterBase): |
no test coverage detected