mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Fix markup errors in the docs and amend suspicious ignores.
This commit is contained in:
parent
c9d597a46d
commit
325a1c2f37
4 changed files with 17 additions and 19 deletions
|
|
@ -532,7 +532,7 @@ of partial coding sequences. The work of implementing this has already been
|
|||
done for you: the built-in :func:`open` function can return a file-like object
|
||||
that assumes the file's contents are in a specified encoding and accepts Unicode
|
||||
parameters for methods such as :meth:`~io.TextIOBase.read` and
|
||||
:meth:`~io.TextIOBase.write`. This works through:func:`open`\'s *encoding* and
|
||||
:meth:`~io.TextIOBase.write`. This works through :func:`open`\'s *encoding* and
|
||||
*errors* parameters which are interpreted just like those in :meth:`str.encode`
|
||||
and :meth:`bytes.decode`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue