[doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (GH-28124)

(cherry picked from commit a7ef15aae8)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
Miss Islington (bot) 2021-09-02 08:14:11 -07:00 committed by GitHub
parent e09dd8aafd
commit ca27109c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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