summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2021-09-02 16:18:47 (GMT)
committerGitHub <noreply@github.com>2021-09-02 16:18:47 (GMT)
commit2184bc7fe15fe67043f1887ac5d39a99c8d09e35 (patch)
tree39973aeab4c818c68a200247b8e5043eeeafb229
parent559af7434668e2950c08389515a52eba697ef6af (diff)
downloadcpython-2184bc7fe15fe67043f1887ac5d39a99c8d09e35.zip
cpython-2184bc7fe15fe67043f1887ac5d39a99c8d09e35.tar.gz
cpython-2184bc7fe15fe67043f1887ac5d39a99c8d09e35.tar.bz2
[3.10] [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (#28126)
(cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
-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 0e60636..1a883ba 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