mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
#15543: reflow paragraph.
This commit is contained in:
parent
99d439afcf
commit
0689ce4396
1 changed files with 9 additions and 9 deletions
|
@ -288,15 +288,15 @@ default values. The arguments that are most commonly needed are:
|
||||||
.. index::
|
.. index::
|
||||||
single: universal newlines; subprocess module
|
single: universal newlines; subprocess module
|
||||||
|
|
||||||
If *universal_newlines* is ``True``, the file objects *stdin*, *stdout*
|
If *universal_newlines* is ``True``, the file objects *stdin*, *stdout* and
|
||||||
and *stderr* will be opened as text streams in :term:`universal newlines`
|
*stderr* will be opened as text streams in :term:`universal newlines` mode
|
||||||
mode using the encoding returned by
|
using the encoding returned by :func:`locale.getpreferredencoding(False)
|
||||||
:func:`locale.getpreferredencoding(False) <locale.getpreferredencoding>`.
|
<locale.getpreferredencoding>`. For *stdin*, line ending characters
|
||||||
For *stdin*, line ending characters ``'\n'`` in the input will be converted
|
``'\n'`` in the input will be converted to the default line separator
|
||||||
to the default line separator :data:`os.linesep`. For *stdout* and
|
:data:`os.linesep`. For *stdout* and *stderr*, all line endings in the
|
||||||
*stderr*, all line endings in the output will be converted to ``'\n'``.
|
output will be converted to ``'\n'``. For more information see the
|
||||||
For more information see the documentation of the :class:`io.TextIOWrapper`
|
documentation of the :class:`io.TextIOWrapper` class when the *newline*
|
||||||
class when the *newline* argument to its constructor is ``None``.
|
argument to its constructor is ``None``.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue