summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2011-05-23 05:29:49 (GMT)
committerGregory P. Smith <greg@krypto.org>2011-05-23 05:29:49 (GMT)
commita454ef6985494ad894c5ec7ebe0ea4c824fc926d (patch)
tree7eb392d2c0a9d75e9466786ac87fb9340ad24676 /Lib/subprocess.py
parent6352298ac4fd69d80fe33dfca84bd8bd6fe79672 (diff)
downloadcpython-a454ef6985494ad894c5ec7ebe0ea4c824fc926d.zip
cpython-a454ef6985494ad894c5ec7ebe0ea4c824fc926d.tar.gz
cpython-a454ef6985494ad894c5ec7ebe0ea4c824fc926d.tar.bz2
Update documentation to mention bytes instead byte string and correct one
mentioned string to the accurate description of what type is required.
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index cd8aa6b..c5128d8 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -817,8 +817,8 @@ class Popen(object):
def communicate(self, input=None, timeout=None):
"""Interact with process: Send data to stdin. Read data from
stdout and stderr, until end-of-file is reached. Wait for
- process to terminate. The optional input argument should be a
- string to be sent to the child process, or None, if no data
+ process to terminate. The optional input argument should be
+ bytes to be sent to the child process, or None, if no data
should be sent to the child.
communicate() returns a tuple (stdout, stderr)."""