mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-16 18:32:09 -05:00
Promote RemovedInSphinx20Warning to next version
This commit is contained in:
1 parent
1a4a728816
commit
ee5baca34d
1 file changed
+2
-10
+2
-10
@@ -17,15 +17,7 @@ if False:
|
||||
from typing import Any, Dict, Type # NOQA
|
||||
|
||||
|
||||
class RemovedInSphinx18Warning(DeprecationWarning):
|
||||
pass
|
||||
|
||||
|
||||
class RemovedInSphinx19Warning(PendingDeprecationWarning):
|
||||
pass
|
||||
|
||||
|
||||
class RemovedInSphinx20Warning(PendingDeprecationWarning):
|
||||
class RemovedInSphinx20Warning(DeprecationWarning):
|
||||
pass
|
||||
|
||||
|
||||
@@ -37,7 +29,7 @@ class RemovedInSphinx40Warning(PendingDeprecationWarning):
|
||||
pass
|
||||
|
||||
|
||||
RemovedInNextVersionWarning = RemovedInSphinx18Warning
|
||||
RemovedInNextVersionWarning = RemovedInSphinx20Warning
|
||||
|
||||
|
||||
class DeprecatedDict(dict):
|
||||
|
||||
Reference in new issue
Block a user