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

ambv webhook-mailer at python.org
Thu Sep 2 11:14:16 EDT 2021


https://github.com/python/cpython/commit/ca27109c17dfe96dab5a6e5ff84badfea4c62f21
commit: ca27109c17dfe96dab5a6e5ff84badfea4c62f21
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-09-02T17:14:11+02:00
summary:

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

(cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd)

Co-authored-by: Łukasz Langa <lukasz at langa.pl>

files:
M Doc/library/exceptions.rst

diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 85cd193f903b0f..88ce6847bb392c 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 <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
 



More information about the Python-checkins mailing list