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
1 changed files with 1 additions and 0 deletions

View File

@ -309,6 +309,7 @@ def stripUnderline(s):
def stripFormatting(s):
"""Returns the string s, with all formatting removed."""
# stripColor has to go first because of some strings, check the tests.
s = stripColor(s)
s = stripBold(s)
s = stripReverse(s)