]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH...
authorŁukasz Langa <lukasz@langa.pl>
Thu, 2 Sep 2021 14:44:50 +0000 (16:44 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Sep 2021 14:44:50 +0000 (16:44 +0200)
Doc/library/exceptions.rst

index 669979f7c5d5d921939c6dbaa08ec4e49022f1fa..b665c6079ab0a373f4dba70efa4a5d6b39316a5e 100644 (file)
@@ -748,6 +748,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
 
@@ -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 <devmode>` shows this warning.
 
+   The deprecation policy is described in :pep:`387`.
+
 
 .. exception:: SyntaxWarning