@@ -705,21 +705,29 @@ The following attributes are also available:
705705
706706.. attribute :: Popen.stdin
707707
708- If the *stdin * argument was :data: `PIPE `, this attribute is a :term: `file
709- object ` that provides input to the child process. Otherwise, it is ``None ``.
708+ If the *stdin * argument was :data: `PIPE `, this attribute is a writeable
709+ stream object as returned by :func: `open `. If the *universal_newlines *
710+ argument was ``True ``, the stream is a text stream, otherwise it is a byte
711+ stream. If the *stdin * argument was not :data: `PIPE `, this attribute is
712+ ``None ``.
710713
711714
712715.. attribute :: Popen.stdout
713716
714- If the *stdout * argument was :data: `PIPE `, this attribute is a :term: `file
715- object ` that provides output from the child process. Otherwise, it is ``None ``.
716-
717+ If the *stdout * argument was :data: `PIPE `, this attribute is a readable
718+ stream object as returned by :func: `open `. Reading from the stream provides
719+ output from the child process. If the *universal_newlines * argument was
720+ ``True ``, the stream is a text stream, otherwise it is a byte stream. If the
721+ *stdout * argument was not :data: `PIPE `, this attribute is ``None ``.
722+
717723
718724.. attribute :: Popen.stderr
719725
720- If the *stderr * argument was :data: `PIPE `, this attribute is a :term: `file
721- object ` that provides error output from the child process. Otherwise, it is
722- ``None ``.
726+ If the *stderr * argument was :data: `PIPE `, this attribute is a readable
727+ stream object as returned by :func: `open `. Reading from the stream provides
728+ error output from the child process. If the *universal_newlines * argument was
729+ ``True ``, the stream is a text stream, otherwise it is a byte stream. If the
730+ *stderr * argument was not :data: `PIPE `, this attribute is ``None ``.
723731
724732
725733.. attribute :: Popen.pid
0 commit comments