mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Update documentation to mention bytes instead byte string and correct one
mentioned string to the accurate description of what type is required.
This commit is contained in:
parent
6352298ac4
commit
a454ef6985
2 changed files with 6 additions and 5 deletions
|
@ -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)."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue