diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-15 23:02:28 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-16 21:28:51 +0900 |
commit | c6bd84a61467a5a60adb11af7b5a7b99ac591fbf (patch) | |
tree | 239ba4d0bba3e6bf925af917d7c6d219ae1a6f64 /sphinx/ext/todo.py | |
parent | d160adb8118ebe19ee74b3fbd55478490c473ed8 (diff) | |
download | sphinx-git-c6bd84a61467a5a60adb11af7b5a7b99ac591fbf.tar.gz |
refactor: Remove u-prefix from strings
Diffstat (limited to 'sphinx/ext/todo.py')
-rw-r--r-- | sphinx/ext/todo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/todo.py b/sphinx/ext/todo.py index 858c0bf2f..9a4478180 100644 --- a/sphinx/ext/todo.py +++ b/sphinx/ext/todo.py @@ -228,12 +228,12 @@ def depart_todo_node(self, node): def latex_visit_todo_node(self, node): # type: (LaTeXTranslator, todo_node) -> None - self.body.append(u'\n\\begin{sphinxadmonition}{note}{') + self.body.append('\n\\begin{sphinxadmonition}{note}{') # If this is the original todo node, emit a label that will be referenced by # a hyperref in the todolist. target = node.get('targetref') if target is not None: - self.body.append(u'\\label{%s}' % target) + self.body.append('\\label{%s}' % target) title_node = cast(nodes.title, node[0]) self.body.append('%s:}' % title_node.astext().translate(tex_escape_map)) |