From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 2 Sep 2021 15:14:11 +0000 (-0700) Subject: [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH... X-Git-Tag: v3.9.8~196 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca27109c17dfe96dab5a6e5ff84badfea4c62f21;p=thirdparty%2FPython%2Fcpython.git [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (GH-28124) (cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd) Co-authored-by: Ɓukasz Langa --- diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 85cd193f903b..88ce6847bb39 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -717,6 +717,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 @@ -731,6 +733,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