diff options
author | Guido van Rossum <guido@python.org> | 1999-01-07 00:12:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-07 00:12:15 (GMT) |
commit | 629082edd6c19553f5b84d68e54b73616c852c35 (patch) | |
tree | 11408eda6a4316af33503af09d074090427ccf0f /Tools | |
parent | 2927e7891f90a04048aa98341c8c1bacd7abf3df (diff) | |
download | cpython-629082edd6c19553f5b84d68e54b73616c852c35.zip cpython-629082edd6c19553f5b84d68e54b73616c852c35.tar.gz cpython-629082edd6c19553f5b84d68e54b73616c852c35.tar.bz2 |
Change paragraph width limit to 70 (like Emacs M-Q).
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/idle/FormatParagraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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) |