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, 1 insertions, 5 deletions
diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py
index 6cdd22ec1..1169280d0 100644
--- a/sphinx/deprecation.py
+++ b/sphinx/deprecation.py
@@ -17,15 +17,11 @@ if False:
from typing import Any, Dict, Type # NOQA
-class RemovedInSphinx30Warning(PendingDeprecationWarning):
- pass
-
-
class RemovedInSphinx40Warning(PendingDeprecationWarning):
pass
-RemovedInNextVersionWarning = RemovedInSphinx30Warning
+RemovedInNextVersionWarning = RemovedInSphinx40Warning
def deprecated_alias(modname, objects, warning):