remove the long obsolete mention of universal newlines mode only being
available when configured at compile time.
This commit is contained in:
parent
d312c740f1
commit
1f8a40b81d
|
@ -238,11 +238,9 @@ default values. The arguments that are most commonly needed are:
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
The *universal_newlines* feature is supported only if Python is built
|
The newlines attribute of the file objects :attr:`Popen.stdin`,
|
||||||
with universal newline support (the default). Also, the newlines
|
:attr:`Popen.stdout` and :attr:`Popen.stderr` are not updated by
|
||||||
attribute of the file objects :attr:`Popen.stdin`, :attr:`Popen.stdout`
|
the :meth:`Popen.communicate` method.
|
||||||
and :attr:`Popen.stderr` are not updated by the
|
|
||||||
:meth:`Popen.communicate` method.
|
|
||||||
|
|
||||||
If *shell* is ``True``, the specified command will be executed through
|
If *shell* is ``True``, the specified command will be executed through
|
||||||
the shell. This can be useful if you are using Python primarily for the
|
the shell. This can be useful if you are using Python primarily for the
|
||||||
|
|
|
@ -108,10 +108,9 @@ If universal_newlines is true, the file objects stdout and stderr are
|
||||||
opened as a text files, but lines may be terminated by any of '\n',
|
opened as a text files, but lines may be terminated by any of '\n',
|
||||||
the Unix end-of-line convention, '\r', the old Macintosh convention or
|
the Unix end-of-line convention, '\r', the old Macintosh convention or
|
||||||
'\r\n', the Windows convention. All of these external representations
|
'\r\n', the Windows convention. All of these external representations
|
||||||
are seen as '\n' by the Python program. Note: This feature is only
|
are seen as '\n' by the Python program. Also, the newlines attribute
|
||||||
available if Python is built with universal newline support (the
|
of the file objects stdout, stdin and stderr are not updated by the
|
||||||
default). Also, the newlines attribute of the file objects stdout,
|
communicate() method.
|
||||||
stdin and stderr are not updated by the communicate() method.
|
|
||||||
|
|
||||||
The startupinfo and creationflags, if given, will be passed to the
|
The startupinfo and creationflags, if given, will be passed to the
|
||||||
underlying CreateProcess() function. They can specify things such as
|
underlying CreateProcess() function. They can specify things such as
|
||||||
|
|
Loading…
Reference in New Issue