Commit ed7fb9c7 authored by R David Murray's avatar R David Murray

Merge #15694: reflow paragraph.

parents 8eac575e 433ef3b5
......@@ -914,9 +914,8 @@ are always available. They are listed here in alphabetical order.
The ``'x'`` mode was added.
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment