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/builders/applehelp.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/builders/applehelp.py')
-rw-r--r-- | sphinx/builders/applehelp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py index db2d983a4..e8cf5b279 100644 --- a/sphinx/builders/applehelp.py +++ b/sphinx/builders/applehelp.py @@ -86,7 +86,7 @@ class AppleHelpBuilder(StandaloneHTMLBuilder): def init(self): # type: () -> None - super(AppleHelpBuilder, self).init() + super().init() # the output files for HTML help must be .html only self.out_suffix = '.html' self.link_suffix = '.html' @@ -105,7 +105,7 @@ class AppleHelpBuilder(StandaloneHTMLBuilder): def handle_finish(self): # type: () -> None - super(AppleHelpBuilder, self).handle_finish() + super().handle_finish() self.finish_tasks.add_task(self.copy_localized_files) self.finish_tasks.add_task(self.build_helpbook) |