]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] [doc] Link to deprecation policy PEP from the DeprecationWarning documentation...
authorŁukasz Langa <lukasz@langa.pl>
Thu, 2 Sep 2021 16:18:47 +0000 (18:18 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Sep 2021 16:18:47 +0000 (18:18 +0200)
(cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd)

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

index 0e606360efae171b5cdf58ffd997eb8052c15b56..1a883ba19af4f5933d7f8f93f7f41aa041d45ea5 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