From: Fred Drake Date: Tue, 12 Jan 1999 18:13:27 +0000 (+0000) Subject: DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to X-Git-Tag: v1.5.2b2~378 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4bb656a4ff1b06c0af4e340edd60159a3d4522a;p=thirdparty%2FPython%2Fcpython.git DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to the newsgroup by Raymond Tong Leng Ng . --- diff --git a/Lib/formatter.py b/Lib/formatter.py index a3e82a440a70..4b340d52ba3c 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