PEP 565: Minor fixes to PEP text
This commit is contained in:
parent
47ea35f051
commit
5686cccb80
|
@ -126,7 +126,7 @@ compatibility warning, with three different intended audiences:
|
|||
other Python developers (e.g. warning about use of a deprecated setting in a
|
||||
configuration file format).
|
||||
|
||||
For libraries and framework authors that want to ensure their API compatibility
|
||||
For library and framework authors that want to ensure their API compatibility
|
||||
warnings are more reliably seen by their users, the recommendation is to use a
|
||||
custom warning class that derives from ``DeprecationWarning`` in Python 3.7+,
|
||||
and from ``FutureWarning`` in earlier versions.
|
||||
|
@ -191,7 +191,7 @@ PEP:
|
|||
PYTHONWARNINGS=ignore # Never warn
|
||||
|
||||
* Explicitly list the corresponding short options
|
||||
(``-We``, ``-Wa``, ``-Wd``, ``-Wm``,``-Wo``, ``-Wi``) for each of the
|
||||
(``-We``, ``-Wa``, ``-Wd``, ``-Wm``, ``-Wo``, ``-Wi``) for each of the
|
||||
warning actions listed under the ``-W`` command line switch documentation
|
||||
|
||||
* Explicitly list the default filter set in the ``warnings`` module
|
||||
|
|
Loading…
Reference in New Issue