From 1743201364feaa9ab56acda3ccef051b2dd1d814 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 4 Dec 2008 21:28:16 +0000 Subject: Clarification to avoid confusing output with file descriptors. --- Doc/library/subprocess.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 468892a..ae2f73b 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 -- cgit v0.12