diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-09-05 18:52:59 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-09-05 18:52:59 +0900 |
commit | d78306c7f9c97d24648de2650a7bb99288da02f4 (patch) | |
tree | b3849b83e33db18a05909bb12e675f508911d0aa /sphinx/directives/code.py | |
parent | a16cca27ef1415ff271084f156e0fb33ccfbefae (diff) | |
download | sphinx-git-d78306c7f9c97d24648de2650a7bb99288da02f4.tar.gz |
Fix #8163: Update warning message for :dedent: option
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 f1f4a341a..4ca849cf0 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -72,7 +72,7 @@ def dedent_lines(lines: List[str], dedent: int, location: Tuple[str, int] = None return lines if any(s[:dedent].strip() for s in lines): - logger.warning(__('Over dedent has detected'), location=location) + logger.warning(__('non-whitespace stripped by dedent'), location=location) new_lines = [] for line in lines: |