diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-28 01:57:48 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-28 01:58:32 +0900 |
commit | 31c4d06a22e92d28f94200063a3921b688e330c2 (patch) | |
tree | 21777fb0c6c102a0533eab65d40e700e79ea0c4e /sphinx/builders/htmlhelp.py | |
parent | c76885631ddf9edbf4e6edcc37ebc29e3e583627 (diff) | |
download | sphinx-git-31c4d06a22e92d28f94200063a3921b688e330c2.tar.gz |
refactor: Use super() to call methods of superclass
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
-rw-r--r-- | sphinx/builders/htmlhelp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py index ce8a8956f..c6c3e0eb3 100644 --- a/sphinx/builders/htmlhelp.py +++ b/sphinx/builders/htmlhelp.py @@ -200,7 +200,7 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder): # the output files for HTML help is .html by default self.out_suffix = '.html' self.link_suffix = '.html' - StandaloneHTMLBuilder.init(self) + super(HTMLHelpBuilder, self).init() # determine the correct locale setting locale = chm_locales.get(self.config.language) if locale is not None: @@ -227,7 +227,7 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder): if node.get('internal') is None and 'refuri' in node: node['target'] = '_blank' - StandaloneHTMLBuilder.write_doc(self, docname, doctree) + super(HTMLHelpBuilder, self).write_doc(docname, doctree) def build_hhx(self, outdir, outname): # type: (unicode, unicode) -> None |