mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to
the newsgroup by Raymond Tong Leng Ng <rntl@yahoo.com>.
This commit is contained in:
parent
e23cde2f8d
commit
f4bb656a4f
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class DumbWriter(NullWriter):
|
|||
self.atbreak = 0
|
||||
|
||||
def send_paragraph(self, blankline):
|
||||
self.file.write('\n' + '\n'*blankline)
|
||||
self.file.write('\n'*blankline)
|
||||
self.col = 0
|
||||
self.atbreak = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue