mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-22 02:32:42 +01:00
Removed wrapLines, which isn't used anywhere.
This commit is contained in:
parent
74b9a3c702
commit
9712acf467
@ -336,13 +336,6 @@ def unCommaThe(s):
|
||||
else:
|
||||
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):
|
||||
"""Returns a shortened version of s. Produces up to the first n chars at
|
||||
the nearest word boundary.
|
||||
|
Loading…
Reference in New Issue
Block a user