summaryrefslogtreecommitdiff
path: root/sphinx/directives/code.py
diff options
context:
space:
mode:
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):