summaryrefslogtreecommitdiff
path: root/Lib/formatter.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-12 18:13:27 +0000
committerFred Drake <fdrake@acm.org>1999-01-12 18:13:27 +0000
commitf3e849d26df1f42378fd28c22f2d2a20698f976f (patch)
tree8ba803761efcaafd9a3dbdbb02194966e2b4024e /Lib/formatter.py
parent28a1946bc5e8ffa5b81e40e2b86cfff98410ee8a (diff)
downloadcpython-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/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 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