From: Guido van Rossum Date: Thu, 7 Jan 1999 00:12:15 +0000 (+0000) Subject: Change paragraph width limit to 70 (like Emacs M-Q). X-Git-Tag: v1.5.2b2~425 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=629082edd6c19553f5b84d68e54b73616c852c35;p=thirdparty%2FPython%2Fcpython.git Change paragraph width limit to 70 (like Emacs M-Q). --- diff --git a/Tools/idle/FormatParagraph.py b/Tools/idle/FormatParagraph.py index 1d0db120f02f..f8827e761587 100644 --- a/Tools/idle/FormatParagraph.py +++ b/Tools/idle/FormatParagraph.py @@ -63,7 +63,7 @@ def find_paragraph(text, mark): 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)