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

This commit is contained in:
Łukasz Langa 2021-09-02 16:44:50 +02:00 committed by GitHub
parent 55c4a92fc1
commit a7ef15aae8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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