summaryrefslogtreecommitdiff
path: root/sphinx/deprecation.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/deprecation.py')
-rw-r--r--sphinx/deprecation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py
index 0b980a193..77b462da8 100644
--- a/sphinx/deprecation.py
+++ b/sphinx/deprecation.py
@@ -18,7 +18,7 @@ class RemovedInSphinx40Warning(DeprecationWarning):
pass
-class RemovedInSphinx50Warning(PendingDeprecationWarning):
+class RemovedInSphinx50Warning(DeprecationWarning):
pass
@@ -26,7 +26,7 @@ class RemovedInSphinx60Warning(PendingDeprecationWarning):
pass
-RemovedInNextVersionWarning = RemovedInSphinx40Warning
+RemovedInNextVersionWarning = RemovedInSphinx50Warning
def deprecated_alias(modname: str, objects: Dict, warning: "Type[Warning]") -> None: