summaryrefslogtreecommitdiffstats
path: root/Lib/formatter.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-12 18:13:27 (GMT)
committerFred Drake <fdrake@acm.org>1999-01-12 18:13:27 (GMT)
commitf4bb656a4ff1b06c0af4e340edd60159a3d4522a (patch)
treefad8236364e42aa14d86a48e4a5e8b0a989dc3f4 /Lib/formatter.py
parente23cde2f8d0084f8ccfb8b6149afe06809f1c81c (diff)
downloadcpython-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.py2
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