summaryrefslogtreecommitdiff
path: root/sphinx/deprecation.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/deprecation.py')
-rw-r--r--sphinx/deprecation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py
index be01ca65f..23efe8ba7 100644
--- a/sphinx/deprecation.py
+++ b/sphinx/deprecation.py
@@ -17,15 +17,15 @@ if False:
from typing import Any, Dict, Type # NOQA
-class RemovedInSphinx30Warning(DeprecationWarning):
+class RemovedInSphinx40Warning(DeprecationWarning):
pass
-class RemovedInSphinx40Warning(PendingDeprecationWarning):
+class RemovedInSphinx50Warning(PendingDeprecationWarning):
pass
-RemovedInNextVersionWarning = RemovedInSphinx30Warning
+RemovedInNextVersionWarning = RemovedInSphinx40Warning
def deprecated_alias(modname, objects, warning):