summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-02 15:14:11 (GMT)
committerGitHub <noreply@github.com>2021-09-02 15:14:11 (GMT)
commitca27109c17dfe96dab5a6e5ff84badfea4c62f21 (patch)
tree3a0198d3e4e034e2039c722a2fa32780a9d5a5bf /Doc
parente09dd8aafd6f9aef03945c417267806d47084a5d (diff)
downloadcpython-ca27109c17dfe96dab5a6e5ff84badfea4c62f21.zip
cpython-ca27109c17dfe96dab5a6e5ff84badfea4c62f21.tar.gz
cpython-ca27109c17dfe96dab5a6e5ff84badfea4c62f21.tar.bz2
[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@langa.pl>
Diffstat (limited to 'Doc')
-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 85cd193..88ce684 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