summaryrefslogtreecommitdiffstats
path: root/Doc/library/exceptions.rst
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-09-02 14:44:50 (GMT)
committerGitHub <noreply@github.com>2021-09-02 14:44:50 (GMT)
commita7ef15aae8608560bffeeaba412c10e52cab07dd (patch)
treea86d268f1d3e8c7c58c466a200539e2b35bb5015 /Doc/library/exceptions.rst
parent55c4a92fc1abfe388335071f1d64b3addfa5793f (diff)
downloadcpython-a7ef15aae8608560bffeeaba412c10e52cab07dd.zip
cpython-a7ef15aae8608560bffeeaba412c10e52cab07dd.tar.gz
cpython-a7ef15aae8608560bffeeaba412c10e52cab07dd.tar.bz2
[doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123)
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r--Doc/library/exceptions.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 669979f..b665c60 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