summaryrefslogtreecommitdiff
path: root/sphinx/util/compat.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-06-25 23:03:23 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-06-25 23:03:23 +0900
commit1d0f667ecd6fcaecadb59f7006f1816a2a236a16 (patch)
treeadfbcd000e21b5bd7553e0734e36d7d37d10e869 /sphinx/util/compat.py
parente0a1fede6dfc699aaa1a4c2682a07ffe485e6765 (diff)
downloadsphinx-git-1d0f667ecd6fcaecadb59f7006f1816a2a236a16.tar.gz
Update warning message (ref: #3873)
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r--sphinx/util/compat.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py
index 20975f83d..3a5356ff7 100644
--- a/sphinx/util/compat.py
+++ b/sphinx/util/compat.py
@@ -35,9 +35,8 @@ class _DeprecationWrapper(object):
def __getattr__(self, attr):
# type: (str) -> Any
if attr in self._deprecated:
- warnings.warn("sphinx.util.compat.%s is deprecated and will be "
- "removed in Sphinx 1.7, please use the standard "
- "library version instead." % attr,
+ warnings.warn("sphinx.util.compat.%s is deprecated and will be removed "
+ "in Sphinx 1.7, please use docutils' instead." % attr,
RemovedInSphinx17Warning)
return self._deprecated[attr]
return getattr(self._mod, attr)