diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-03-28 01:08:02 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-03-28 01:08:02 +0000 |
commit | a4b225b5925d783a34f7ad6c95c3e49acd57a41d (patch) | |
tree | ec78f20f440f211d414220485dfc96570d19ac18 /Lib/subprocess.py | |
parent | b251be3f0a31370fac380b1760a62d6704bd90fb (diff) | |
download | cpython-a4b225b5925d783a34f7ad6c95c3e49acd57a41d.tar.gz |
Whitespace normalization.
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r-- | Lib/subprocess.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index e72e26055e..783f61711a 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -626,14 +626,14 @@ class Popen(object): process to terminate. The optional input argument should be a string to be sent to the child process, or None, if no data should be sent to the child. - + communicate() returns a tuple (stdout, stderr).""" # Optimization: If we are only using one pipe, or no pipe at # all, using select() or threads is unnecessary. if [self.stdin, self.stdout, self.stderr].count(None) >= 2: - stdout = None - stderr = None + stdout = None + stderr = None if self.stdin: if input: self.stdin.write(input) @@ -644,7 +644,7 @@ class Popen(object): stderr = self.stderr.read() self.wait() return (stdout, stderr) - + return self._communicate(input) |