Change paragraph width limit to 70 (like Emacs M-Q).

This commit is contained in:
Guido van Rossum 1999-01-07 00:12:15 +00:00
parent 2927e7891f
commit 629082edd6

View file

@ -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)