diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-15 17:02:28 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-16 15:28:51 +0300 |
commit | c6bd84a61467a5a60adb11af7b5a7b99ac591fbf (patch) | |
tree | 239ba4d0bba3e6bf925af917d7c6d219ae1a6f64 /sphinx/roles.py | |
parent | d160adb8118ebe19ee74b3fbd55478490c473ed8 (diff) |
refactor: Remove u-prefix from strings
Diffstat (limited to 'sphinx/roles.py')
-rw-r--r-- | sphinx/roles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/roles.py b/sphinx/roles.py index 0c02f230e..4ec6eb734 100644 --- a/sphinx/roles.py +++ b/sphinx/roles.py @@ -257,7 +257,7 @@ def menusel_role(typ, rawtext, text, lineno, inliner, options={}, content=[]): text = utils.unescape(text) if typ == 'menuselection': - text = text.replace('-->', u'\N{TRIANGULAR BULLET}') + text = text.replace('-->', '\N{TRIANGULAR BULLET}') spans = _amp_re.split(text) node = nodes.inline(rawtext=rawtext) |