From ee5baca34d9490b47ac0c020bd34c25358eea718 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 14 May 2018 22:29:27 +0900 Subject: [PATCH] Promote RemovedInSphinx20Warning to next version --- sphinx/deprecation.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py index d4067055a..f95e8dbff 100644 --- a/sphinx/deprecation.py +++ b/sphinx/deprecation.py @@ -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):