summaryrefslogtreecommitdiff
path: root/doc/sphinxext/only_directives.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinxext/only_directives.py')
-rw-r--r--doc/sphinxext/only_directives.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinxext/only_directives.py b/doc/sphinxext/only_directives.py
index c25760ad0..c0dff7e65 100644
--- a/doc/sphinxext/only_directives.py
+++ b/doc/sphinxext/only_directives.py
@@ -11,8 +11,8 @@ except ImportError:
from sphinx.writers.latex import LaTeXTranslator
import warnings
- warnings.warn("The only_directives module is deprecated; please use "
- "the only:: directive available in Sphinx >= 0.6",
+ warnings.warn("The numpydoc.only_directives module is deprecated;"
+ "please use the only:: directive available in Sphinx >= 0.6",
DeprecationWarning, stacklevel=2)
from docutils.parsers.rst import directives