commit | 629082edd6c19553f5b84d68e54b73616c852c35 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jan 07 00:12:15 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jan 07 00:12:15 1999 +0000 |
tree | 11408eda6a4316af33503af09d074090427ccf0f | |
parent | 2927e7891f90a04048aa98341c8c1bacd7abf3df [diff] |
Change paragraph width limit to 70 (like Emacs M-Q).
diff --git a/Tools/idle/FormatParagraph.py b/Tools/idle/FormatParagraph.py index 1d0db12..f8827e7 100644 --- a/Tools/idle/FormatParagraph.py +++ b/Tools/idle/FormatParagraph.py
@@ -63,7 +63,7 @@ first = "%d.0" % (lineno+1) return first, last, text.get(first, last) -def reformat_paragraph(data, limit=72): +def reformat_paragraph(data, limit=70): lines = string.split(data, "\n") i = 0 n = len(lines)