projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2927e78
)
Change paragraph width limit to 70 (like Emacs M-Q).
author
Guido van Rossum
<guido@python.org>
Thu, 7 Jan 1999 00:12:15 +0000
(
00:12
+0000)
committer
Guido van Rossum
<guido@python.org>
Thu, 7 Jan 1999 00:12:15 +0000
(
00:12
+0000)
Tools/idle/FormatParagraph.py
patch
|
blob
|
history
diff --git
a/Tools/idle/FormatParagraph.py
b/Tools/idle/FormatParagraph.py
index 1d0db120f02feb9ad3d6274278d5c6b947551eaa..f8827e7615872423e3e139c2ba308cff680bf62c 100644
(file)
--- 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=7
2
):
+def reformat_paragraph(data, limit=7
0
):
lines = string.split(data, "\n")
i = 0
n = len(lines)