We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7328d2b commit 43a59c5Copy full SHA for 43a59c5
indentprinter.py
@@ -29,7 +29,6 @@ def print(self, *args, **kw):
29
if self.new_line:
30
self.saved_print(self.indent_str * self.depth, end = '')
31
self.saved_print(*args, **kw)
32
- if {'end': '\n', **kw}['end'].endswith('\n'):
33
- self.new_line = True
+ self.new_line = {'end': '\n', **kw}['end'].endswith('\n')
34
35
indentPrinter = IndentPrinter(print)
0 commit comments