Explicitly insert a newline into the output, maintaining correct indentation.
(self)
| 248 | self._break_outer_groups() |
| 249 | |
| 250 | def break_(self): |
| 251 | """ |
| 252 | Explicitly insert a newline into the output, maintaining correct indentation. |
| 253 | """ |
| 254 | group = self.group_queue.deq() |
| 255 | if group: |
| 256 | self._break_one_group(group) |
| 257 | self.flush() |
| 258 | self.output.write(self.newline) |
| 259 | self.output.write(' ' * self.indentation) |
| 260 | self.output_width = self.indentation |
| 261 | self.buffer_width = 0 |
| 262 | |
| 263 | |
| 264 | def begin_group(self, indent=0, open=''): |