Skip to content

Commit 7285588

Browse files
committed
Add RemovedInSphinx50Warning
1 parent 86d4823 commit 7285588

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sphinx/deprecation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
from typing import Any, Dict, Type # NOQA
1818

1919

20-
class RemovedInSphinx40Warning(PendingDeprecationWarning):
20+
class RemovedInSphinx40Warning(DeprecationWarning):
21+
pass
22+
23+
24+
class RemovedInSphinx50Warning(PendingDeprecationWarning):
2125
pass
2226

2327

0 commit comments

Comments
 (0)