Skip to content

Commit 1d0f667

Browse files
committed
Update warning message (ref: #3873)
1 parent e0a1fed commit 1d0f667

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sphinx/util/compat.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ def __init__(self, mod, deprecated):
3535
def __getattr__(self, attr):
3636
# type: (str) -> Any
3737
if attr in self._deprecated:
38-
warnings.warn("sphinx.util.compat.%s is deprecated and will be "
39-
"removed in Sphinx 1.7, please use the standard "
40-
"library version instead." % attr,
38+
warnings.warn("sphinx.util.compat.%s is deprecated and will be removed "
39+
"in Sphinx 1.7, please use docutils' instead." % attr,
4140
RemovedInSphinx17Warning)
4241
return self._deprecated[attr]
4342
return getattr(self._mod, attr)

0 commit comments

Comments
 (0)