Change paragraph width limit to 70 (like Emacs M-Q).
authorGuido van Rossum <guido@python.org>
Thu, 7 Jan 1999 00:12:15 +0000 (00:12 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 7 Jan 1999 00:12:15 +0000 (00:12 +0000)
Tools/idle/FormatParagraph.py

index 1d0db120f02feb9ad3d6274278d5c6b947551eaa..f8827e7615872423e3e139c2ba308cff680bf62c 100644 (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)