projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e23cde2
)
DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to
author
Fred Drake
<fdrake@acm.org>
Tue, 12 Jan 1999 18:13:27 +0000
(18:13 +0000)
committer
Fred Drake
<fdrake@acm.org>
Tue, 12 Jan 1999 18:13:27 +0000
(18:13 +0000)
the newsgroup by Raymond Tong Leng Ng <rntl@yahoo.com>.
Lib/formatter.py
patch
|
blob
|
history
diff --git
a/Lib/formatter.py
b/Lib/formatter.py
index a3e82a440a7093501358baabf450e874a5419d0d..4b340d52ba3c6168964c75028cc8fbbd2799b6c5 100644
(file)
--- 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