diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-06-25 23:03:23 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-06-25 23:03:23 +0900 |
commit | 1d0f667ecd6fcaecadb59f7006f1816a2a236a16 (patch) | |
tree | adfbcd000e21b5bd7553e0734e36d7d37d10e869 /sphinx/util/compat.py | |
parent | e0a1fede6dfc699aaa1a4c2682a07ffe485e6765 (diff) | |
download | sphinx-git-1d0f667ecd6fcaecadb59f7006f1816a2a236a16.tar.gz |
Update warning message (ref: #3873)
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r-- | sphinx/util/compat.py | 5 |
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) |