mirror of https://github.com/Mikaela/Limnoria.git
Removed wrapLines, which isn't used anywhere.
This commit is contained in:
parent
74b9a3c702
commit
9712acf467
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue