mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
A docstring doesn't hurt much.
This commit is contained in:
parent
8c25795723
commit
966129c9a3
@ -309,6 +309,7 @@ def stripUnderline(s):
|
|||||||
|
|
||||||
def stripFormatting(s):
|
def stripFormatting(s):
|
||||||
"""Returns the string s, with all formatting removed."""
|
"""Returns the string s, with all formatting removed."""
|
||||||
|
# stripColor has to go first because of some strings, check the tests.
|
||||||
s = stripColor(s)
|
s = stripColor(s)
|
||||||
s = stripBold(s)
|
s = stripBold(s)
|
||||||
s = stripReverse(s)
|
s = stripReverse(s)
|
||||||
|
Loading…
Reference in New Issue
Block a user