diff options
Diffstat (limited to 'sphinx/deprecation.py')
-rw-r--r-- | sphinx/deprecation.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py new file mode 100644 index 000000000..a5d14762f --- /dev/null +++ b/sphinx/deprecation.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +""" + sphinx.deprecation + ~~~~~~~~~~~~~~~~~~ + + Sphinx deprecation classes and utilities. + + :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + + +class RemovedInSphinx16Warning(DeprecationWarning): + pass + + +class RemovedInSphinx17Warning(PendingDeprecationWarning): + pass + + +RemovedInNextVersionWarning = RemovedInSphinx16Warning |