diff options
-rw-r--r-- | screenplain/richstring.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screenplain/richstring.py b/screenplain/richstring.py index 43f5949..a72f948 100644 --- a/screenplain/richstring.py +++ b/screenplain/richstring.py @@ -215,7 +215,7 @@ all_styles = (Bold, Italic, Underline) def _unescape(source): - """Converts backslash-escaped stars in a string to the magic + r"""Converts backslash-escaped stars in a string to the magic "literal star" character. >>> _unescape(r'\*hello\*') @@ -226,7 +226,7 @@ def _unescape(source): def _demagic_literals(text): - """Converts "literal star" characters to actual stars: "*" + r"""Converts "literal star" characters to actual stars: "*" >>> _demagic_literals(u'\ue706hello\ue706') u'*hello*' |