diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-12 18:13:27 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-12 18:13:27 +0000 |
commit | f3e849d26df1f42378fd28c22f2d2a20698f976f (patch) | |
tree | 8ba803761efcaafd9a3dbdbb02194966e2b4024e /Lib | |
parent | 28a1946bc5e8ffa5b81e40e2b86cfff98410ee8a (diff) | |
download | cpython-f3e849d26df1f42378fd28c22f2d2a20698f976f.tar.gz |
DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to
the newsgroup by Raymond Tong Leng Ng <rntl@yahoo.com>.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/formatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/formatter.py b/Lib/formatter.py index a3e82a440a..4b340d52ba 100644 --- a/Lib/formatter.py +++ b/Lib/formatter.py @@ -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 |