Skip to content

Commit 43a59c5

Browse files
committedOct 3, 2022
fix bug
1 parent 7328d2b commit 43a59c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎indentprinter.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def print(self, *args, **kw):
2929
if self.new_line:
3030
self.saved_print(self.indent_str * self.depth, end = '')
3131
self.saved_print(*args, **kw)
32-
if {'end': '\n', **kw}['end'].endswith('\n'):
33-
self.new_line = True
32+
self.new_line = {'end': '\n', **kw}['end'].endswith('\n')
3433

3534
indentPrinter = IndentPrinter(print)

0 commit comments

Comments
 (0)
Please sign in to comment.