Skip to content

Commit ca27109

Browse files
miss-islingtonambv
andauthored
[doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (GH-28124)
(cherry picked from commit a7ef15a) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
1 parent e09dd8a commit ca27109

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
@@ -717,6 +717,8 @@ The following exceptions are used as warning categories; see the
717717
(:pep:`565`). Enabling the :ref:`Python Development Mode <devmode>` shows
718718
this warning.
719719

720+
The deprecation policy is described in :pep:`387`.
721+
720722

721723
.. exception:: PendingDeprecationWarning
722724

@@ -731,6 +733,8 @@ The following exceptions are used as warning categories; see the
731733
Ignored by the default warning filters. Enabling the :ref:`Python
732734
Development Mode <devmode>` shows this warning.
733735

736+
The deprecation policy is described in :pep:`387`.
737+
734738

735739
.. exception:: SyntaxWarning
736740

0 commit comments

Comments
 (0)