summaryrefslogtreecommitdiff
path: root/sphinx/directives/code.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-28 01:57:48 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-28 01:58:32 +0900
commit31c4d06a22e92d28f94200063a3921b688e330c2 (patch)
tree21777fb0c6c102a0533eab65d40e700e79ea0c4e /sphinx/directives/code.py
parentc76885631ddf9edbf4e6edcc37ebc29e3e583627 (diff)
downloadsphinx-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.py2
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):