Skip to content

Commit

Permalink
PEP 597: Fix rest format. (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane authored Mar 3, 2021
1 parent 5a4ada6 commit b95c727
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pep-0597.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,23 +277,23 @@ https://mail.python.org/archives/list/[email protected]/thread/SFYUP2TWD5JZ5

* Why not implement this in linters?

* ``encoding="locale"`` and ``io.text_encoding()`` must be in
Python.
* ``encoding="locale"`` and ``io.text_encoding()`` must be in
Python.

* It is difficult to find all caller of functions wrapping
``open()`` or ``TextIOWrapper()``. (See ``io.text_encoding()``
section.)
* It is difficult to find all caller of functions wrapping
``open()`` or ``TextIOWrapper()``. (See ``io.text_encoding()``
section.)

* Many developers will not use the option.

* Some developers use the option and report the warnings to
libraries they use. So the option is worth enough even though
many developers won't use it.
* Some developers use the option and report the warnings to
libraries they use. So the option is worth enough even though
many developers won't use it.

* For example, I find [7]_ and [8]_ by running
``pip install -U pip`` and find [9]_ by running ``tox``
with the reference implementation. It demonstrates how this
option can be used to find potential issues.
* For example, I find [7]_ and [8]_ by running
``pip install -U pip`` and find [9]_ by running ``tox``
with the reference implementation. It demonstrates how this
option can be used to find potential issues.


References
Expand Down

0 comments on commit b95c727

Please sign in to comment.