From: Georg Brandl Date: Thu, 4 Dec 2008 21:28:16 +0000 (+0000) Subject: Clarification to avoid confusing output with file descriptors. X-Git-Tag: v2.7a1~2588 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1743201364feaa9ab56acda3ccef051b2dd1d814;p=thirdparty%2FPython%2Fcpython.git Clarification to avoid confusing output with file descriptors. --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 468892a57637..ae2f73b1c569 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -231,7 +231,7 @@ Instances of the :class:`Popen` class have the following methods: *input* argument should be a string to be sent to the child process, or ``None``, if no data should be sent to the child. - :meth:`communicate` returns a tuple ``(stdout, stderr)``. + :meth:`communicate` returns a tuple ``(stdoutdata, stderrdata)``. Note that if you want to send data to the process's stdin, you need to create the Popen object with ``stdin=PIPE``. Similarly, to get anything other than