Add one or more newlines before the next write.
(self, node=None, extra=0)
| 400 | self.write(x) |
| 401 | |
| 402 | def newline(self, node=None, extra=0): |
| 403 | """Add one or more newlines before the next write.""" |
| 404 | self._new_lines = max(self._new_lines, 1 + extra) |
| 405 | if node is not None and node.lineno != self._last_line: |
| 406 | self._write_debug_info = node.lineno |
| 407 | self._last_line = node.lineno |
| 408 | |
| 409 | def signature(self, node, frame, extra_kwargs=None): |
| 410 | """Writes a function call to the stream for the current node. |
no test coverage detected