mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#15694: reflow paragraph.
This commit is contained in:
parent
9f0c9401d3
commit
433ef3b5c3
1 changed files with 2 additions and 3 deletions
|
@ -904,9 +904,8 @@ are always available. They are listed here in alphabetical order.
|
|||
(the default).
|
||||
|
||||
The type of :term:`file object` returned by the :func:`open` function
|
||||
depends on the
|
||||
mode. When :func:`open` is used to open a file in a text mode (``'w'``,
|
||||
``'r'``, ``'wt'``, ``'rt'``, etc.), it returns a subclass of
|
||||
depends on the mode. When :func:`open` is used to open a file in a text
|
||||
mode (``'w'``, ``'r'``, ``'wt'``, ``'rt'``, etc.), it returns a subclass of
|
||||
:class:`io.TextIOBase` (specifically :class:`io.TextIOWrapper`). When used
|
||||
to open a file in a binary mode with buffering, the returned class is a
|
||||
subclass of :class:`io.BufferedIOBase`. The exact class varies: in read
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue