summaryrefslogtreecommitdiff
path: root/sphinx/directives/code.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-09-13 10:54:21 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-09-13 10:54:21 +0900
commitbec30596a8f7487cad23df532bf02d1b29024dbc (patch)
tree9a0a414ea420336a66d0c12015152cb1bcc945f6 /sphinx/directives/code.py
parent5ade6b72196edd44d043888fc7847f36577d694c (diff)
parent0b44e68d4fed408453859dd9a83dc3ee68d90c7f (diff)
downloadsphinx-git-bec30596a8f7487cad23df532bf02d1b29024dbc.tar.gz
Merge branch '3.x' into master
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 b79950ea4..4447b746a 100644
--- a/sphinx/directives/code.py
+++ b/sphinx/directives/code.py
@@ -60,7 +60,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: