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/util/docutils.py | |
parent | c76885631ddf9edbf4e6edcc37ebc29e3e583627 (diff) | |
download | sphinx-git-31c4d06a22e92d28f94200063a3921b688e330c2.tar.gz |
refactor: Use super() to call methods of superclass
Diffstat (limited to 'sphinx/util/docutils.py')
-rw-r--r-- | sphinx/util/docutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py index 09bf12b6f..6146a48e3 100644 --- a/sphinx/util/docutils.py +++ b/sphinx/util/docutils.py @@ -319,7 +319,7 @@ class SphinxFileOutput(FileOutput): if f.read() == data: return data - return FileOutput.write(self, data) + return super(SphinxFileOutput, self).write(data) class SphinxDirective(Directive): |