summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2016-12-05 23:14:25 +0900
committershimizukawa <shimizukawa@gmail.com>2016-12-05 23:14:25 +0900
commit0a7d039df59d15e56b74d7c6bdb72d2454f31cc1 (patch)
treebe59b0e16f7254482c563bbadfa121b751f55811 /sphinx/addnodes.py
parenta265670b79e737a0c88ea76dbac5485c19f6e350 (diff)
parent9f3a95e1da6c8a026df0b197e9d941f963341c38 (diff)
downloadsphinx-git-0a7d039df59d15e56b74d7c6bdb72d2454f31cc1.tar.gz
Merge branch '1.5-release' into master
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py7
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)