diff options
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r-- | sphinx/addnodes.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py index 4035faa2d..95f58052d 100644 --- a/sphinx/addnodes.py +++ b/sphinx/addnodes.py @@ -12,6 +12,7 @@ import warnings from docutils import nodes +from sphinx.deprecation import RemovedInSphinx16Warning class translatable(object): @@ -276,12 +277,12 @@ class termsep(nodes.Structural, nodes.Element): """Separates two terms within a <term> node. .. versionchanged:: 1.4 - sphinx.addnodes.termsep is deprecated. It will be removed at Sphinx-1.5. + sphinx.addnodes.termsep is deprecated. It will be removed at Sphinx-1.6. """ def __init__(self, *args, **kw): - warnings.warn('sphinx.addnodes.termsep will be removed at Sphinx-1.5', - DeprecationWarning, stacklevel=2) + warnings.warn('sphinx.addnodes.termsep will be removed at Sphinx-1.6', + RemovedInSphinx16Warning, stacklevel=2) super(termsep, self).__init__(*args, **kw) |