]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 2 Sep 2021 15:14:11 +0000 (08:14 -0700)
committerGitHub <noreply@github.com>
Thu, 2 Sep 2021 15:14:11 +0000 (17:14 +0200)
(cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd)

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Doc/library/exceptions.rst

index 85cd193f903b0f7c44cd435d27a7dc1fff0a2fc5..88ce6847bb392c62bd39ca71f5a0a69d5973def9 100644 (file)
@@ -717,6 +717,8 @@ The following exceptions are used as warning categories; see the
    (:pep:`565`). Enabling the :ref:`Python Development Mode <devmode>` 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 <devmode>` shows this warning.
 
+   The deprecation policy is described in :pep:`387`.
+
 
 .. exception:: SyntaxWarning