diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-12 18:13:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-12 18:13:27 (GMT) |
commit | f4bb656a4ff1b06c0af4e340edd60159a3d4522a (patch) | |
tree | fad8236364e42aa14d86a48e4a5e8b0a989dc3f4 /Lib/formatter.py | |
parent | e23cde2f8d0084f8ccfb8b6149afe06809f1c81c (diff) | |
download | cpython-f4bb656a4ff1b06c0af4e340edd60159a3d4522a.zip cpython-f4bb656a4ff1b06c0af4e340edd60159a3d4522a.tar.gz cpython-f4bb656a4ff1b06c0af4e340edd60159a3d4522a.tar.bz2 |
DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to
the newsgroup by Raymond Tong Leng Ng <rntl@yahoo.com>.
Diffstat (limited to 'Lib/formatter.py')
-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 a3e82a4..4b340d5 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 |