diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-16 19:46:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 19:46:47 +0900 |
commit | 2597c4174e386552449991a0a247340de3dbcdcc (patch) | |
tree | 9941080af8cb6e672846c0030ed621c31204fd1f /sphinx/ext/todo.py | |
parent | 6395c7d242eda62d0803aa656de82267ebea1a47 (diff) | |
parent | ade973f4e376e6eb573be70fcce4f9b21faec500 (diff) | |
download | sphinx-git-2597c4174e386552449991a0a247340de3dbcdcc.tar.gz |
Merge pull request #5796 from jdufresne/super
Use Python 3 super() argument-less syntax
Diffstat (limited to 'sphinx/ext/todo.py')
-rw-r--r-- | sphinx/ext/todo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/todo.py b/sphinx/ext/todo.py index fb5f19e54..858c0bf2f 100644 --- a/sphinx/ext/todo.py +++ b/sphinx/ext/todo.py @@ -64,7 +64,7 @@ class Todo(BaseAdmonition, SphinxDirective): if not self.options.get('class'): self.options['class'] = ['admonition-todo'] - (todo,) = super(Todo, self).run() # type: Tuple[nodes.Node] + (todo,) = super().run() # type: Tuple[nodes.Node] if isinstance(todo, nodes.system_message): return [todo] elif isinstance(todo, todo_node): |