summaryrefslogtreecommitdiff
path: root/sphinx/directives/other.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-16 19:46:47 +0900
committerGitHub <noreply@github.com>2018-12-16 19:46:47 +0900
commit2597c4174e386552449991a0a247340de3dbcdcc (patch)
tree9941080af8cb6e672846c0030ed621c31204fd1f /sphinx/directives/other.py
parent6395c7d242eda62d0803aa656de82267ebea1a47 (diff)
parentade973f4e376e6eb573be70fcce4f9b21faec500 (diff)
downloadsphinx-git-2597c4174e386552449991a0a247340de3dbcdcc.tar.gz
Merge pull request #5796 from jdufresne/super
Use Python 3 super() argument-less syntax
Diffstat (limited to 'sphinx/directives/other.py')
-rw-r--r--sphinx/directives/other.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index 89fdd4df5..c6d36d8f2 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -387,11 +387,11 @@ class Include(BaseInclude, SphinxDirective):
if self.arguments[0].startswith('<') and \
self.arguments[0].endswith('>'):
# docutils "standard" includes, do not do path processing
- return super(Include, self).run()
+ return super().run()
rel_filename, filename = self.env.relfn2path(self.arguments[0])
self.arguments[0] = filename
self.env.note_included(filename)
- return super(Include, self).run()
+ return super().run()
def setup(app):