Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4bb656

Browse files
committed
DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to
the newsgroup by Raymond Tong Leng Ng <[email protected]>.
1 parent e23cde2 commit f4bb656

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def reset(self):
331331
self.atbreak = 0
332332

333333
def send_paragraph(self, blankline):
334-
self.file.write('\n' + '\n'*blankline)
334+
self.file.write('\n'*blankline)
335335
self.col = 0
336336
self.atbreak = 0
337337

0 commit comments

Comments
 (0)