Skip to content

Commit 2184bc7

Browse files
authored
[3.10] [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (#28126)
(cherry picked from commit a7ef15a) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
1 parent 559af74 commit 2184bc7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/exceptions.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ The following exceptions are used as warning categories; see the
748748
(:pep:`565`). Enabling the :ref:`Python Development Mode <devmode>` shows
749749
this warning.
750750

751+
The deprecation policy is described in :pep:`387`.
752+
751753

752754
.. exception:: PendingDeprecationWarning
753755

@@ -762,6 +764,8 @@ The following exceptions are used as warning categories; see the
762764
Ignored by the default warning filters. Enabling the :ref:`Python
763765
Development Mode <devmode>` shows this warning.
764766

767+
The deprecation policy is described in :pep:`387`.
768+
765769

766770
.. exception:: SyntaxWarning
767771

0 commit comments

Comments
 (0)