PEP 565: Minor fixes to PEP text

This commit is contained in:
Nick Coghlan 2017-11-29 19:43:46 +10:00
parent 47ea35f051
commit 5686cccb80
1 changed files with 2 additions and 2 deletions

View File

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