Removed wrapLines, which isn't used anywhere.

This commit is contained in:
Jeremy Fincher 2005-01-26 14:48:21 +00:00
parent 74b9a3c702
commit 9712acf467

View File

@ -336,13 +336,6 @@ def unCommaThe(s):
else: else:
return s return s
def wrapLines(s):
"""Word wraps several paragraphs in a string s."""
L = []
for line in s.splitlines():
L.append(textwrap.fill(line))
return '\n'.join(L)
def ellipsisify(s, n): def ellipsisify(s, n):
"""Returns a shortened version of s. Produces up to the first n chars at """Returns a shortened version of s. Produces up to the first n chars at
the nearest word boundary. the nearest word boundary.