From: Ɓukasz Langa Date: Thu, 2 Sep 2021 14:44:50 +0000 (+0200) Subject: [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH... X-Git-Tag: v3.11.0a1~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7ef15aae8608560bffeeaba412c10e52cab07dd;p=thirdparty%2FPython%2Fcpython.git [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) --- diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 669979f7c5d5..b665c6079ab0 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -748,6 +748,8 @@ The following exceptions are used as warning categories; see the (:pep:`565`). Enabling the :ref:`Python Development Mode ` shows this warning. + The deprecation policy is described in :pep:`387`. + .. exception:: PendingDeprecationWarning @@ -762,6 +764,8 @@ The following exceptions are used as warning categories; see the Ignored by the default warning filters. Enabling the :ref:`Python Development Mode ` shows this warning. + The deprecation policy is described in :pep:`387`. + .. exception:: SyntaxWarning