A docstring doesn't hurt much.

This commit is contained in:
Jeremy Fincher 2004-08-21 08:02:52 +00:00
parent 8c25795723
commit 966129c9a3

View File

@ -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)