mirror of
https://github.com/python/cpython.git
synced 2024-12-17 22:05:04 +08:00
merge 3.3 (#17814)
This commit is contained in:
commit
d8af6700b9
@ -715,21 +715,29 @@ The following attributes are also available:
|
|||||||
|
|
||||||
.. attribute:: Popen.stdin
|
.. attribute:: Popen.stdin
|
||||||
|
|
||||||
If the *stdin* argument was :data:`PIPE`, this attribute is a :term:`file
|
If the *stdin* argument was :data:`PIPE`, this attribute is a writeable
|
||||||
object` that provides input to the child process. Otherwise, it is ``None``.
|
stream object as returned by :func:`open`. If the *universal_newlines*
|
||||||
|
argument was ``True``, the stream is a text stream, otherwise it is a byte
|
||||||
|
stream. If the *stdin* argument was not :data:`PIPE`, this attribute is
|
||||||
|
``None``.
|
||||||
|
|
||||||
|
|
||||||
.. attribute:: Popen.stdout
|
.. attribute:: Popen.stdout
|
||||||
|
|
||||||
If the *stdout* argument was :data:`PIPE`, this attribute is a :term:`file
|
If the *stdout* argument was :data:`PIPE`, this attribute is a readable
|
||||||
object` that provides output from the child process. Otherwise, it is ``None``.
|
stream object as returned by :func:`open`. Reading from the stream provides
|
||||||
|
output from the child process. If the *universal_newlines* argument was
|
||||||
|
``True``, the stream is a text stream, otherwise it is a byte stream. If the
|
||||||
|
*stdout* argument was not :data:`PIPE`, this attribute is ``None``.
|
||||||
|
|
||||||
|
|
||||||
.. attribute:: Popen.stderr
|
.. attribute:: Popen.stderr
|
||||||
|
|
||||||
If the *stderr* argument was :data:`PIPE`, this attribute is a :term:`file
|
If the *stderr* argument was :data:`PIPE`, this attribute is a readable
|
||||||
object` that provides error output from the child process. Otherwise, it is
|
stream object as returned by :func:`open`. Reading from the stream provides
|
||||||
``None``.
|
error output from the child process. If the *universal_newlines* argument was
|
||||||
|
``True``, the stream is a text stream, otherwise it is a byte stream. If the
|
||||||
|
*stderr* argument was not :data:`PIPE`, this attribute is ``None``.
|
||||||
|
|
||||||
|
|
||||||
.. attribute:: Popen.pid
|
.. attribute:: Popen.pid
|
||||||
|
Loading…
Reference in New Issue
Block a user