mirror of
https://github.com/python/cpython.git
synced 2026-02-13 19:04:37 +00:00
[3.10] [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (#28126)
(cherry picked from commit a7ef15aae8)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
559af74346
commit
2184bc7fe1
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue