[Python-checkins] [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123)

ambv webhook-mailer at python.org
Thu Sep 2 10:44:58 EDT 2021


https://github.com/python/cpython/commit/a7ef15aae8608560bffeeaba412c10e52cab07dd
commit: a7ef15aae8608560bffeeaba412c10e52cab07dd
branch: main
author: Łukasz Langa <lukasz at langa.pl>
committer: ambv <lukasz at langa.pl>
date: 2021-09-02T16:44:50+02:00
summary:

[doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123)

files:
M Doc/library/exceptions.rst

diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 669979f7c5d5d..b665c6079ab0a 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 <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
 



More information about the Python-checkins mailing list