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/directives/code.py | |
parent | c76885631ddf9edbf4e6edcc37ebc29e3e583627 (diff) | |
download | sphinx-git-31c4d06a22e92d28f94200063a3921b688e330c2.tar.gz |
refactor: Use super() to call methods of superclass
Diffstat (limited to 'sphinx/directives/code.py')
-rw-r--r-- | sphinx/directives/code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py index 1d12165d3..19363155a 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -63,7 +63,7 @@ class HighlightLang(Highlight): warnings.warn('highlightlang directive is deprecated. ' 'Please use highlight directive instead.', RemovedInSphinx40Warning, stacklevel=2) - return Highlight.run(self) + return super(HighlightLang, self).run() def dedent_lines(lines, dedent, location=None): |