diff options
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 a98ab5883..30ded6dd4 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -62,7 +62,7 @@ class HighlightLang(Highlight): # type: () -> List[nodes.Node] warnings.warn('highlightlang directive is deprecated. ' 'Please use highlight directive instead.', - RemovedInSphinx40Warning) + RemovedInSphinx40Warning, stacklevel=2) return Highlight.run(self) |
