diff options
author | shimizukawa <shimizukawa@gmail.com> | 2016-12-05 23:14:25 +0900 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2016-12-05 23:14:25 +0900 |
commit | 0a7d039df59d15e56b74d7c6bdb72d2454f31cc1 (patch) | |
tree | be59b0e16f7254482c563bbadfa121b751f55811 /sphinx/addnodes.py | |
parent | a265670b79e737a0c88ea76dbac5485c19f6e350 (diff) | |
parent | 9f3a95e1da6c8a026df0b197e9d941f963341c38 (diff) | |
download | sphinx-git-0a7d039df59d15e56b74d7c6bdb72d2454f31cc1.tar.gz |
Merge branch '1.5-release' into master
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) |