diff options
author | Georg Brandl <georg@python.org> | 2008-07-01 19:10:52 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-01 19:10:52 (GMT) |
commit | e11787a4e83b4dec4ef60099fcc953191a8b8ddc (patch) | |
tree | 53e0fda729801e98963b0cdda4a26d29a3ffa0c6 /Doc | |
parent | de9c869fb8c1f842bc3dfc4d51f287cb6b644ab2 (diff) | |
download | cpython-e11787a4e83b4dec4ef60099fcc953191a8b8ddc.zip cpython-e11787a4e83b4dec4ef60099fcc953191a8b8ddc.tar.gz cpython-e11787a4e83b4dec4ef60099fcc953191a8b8ddc.tar.bz2 |
#2683: communicate() takes bytes.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/subprocess.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 38f4063..d85f5dc 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -102,7 +102,7 @@ This module defines one class called :class:`Popen`: This feature is only available if Python is built with universal newline support (the default). Also, the newlines attribute of the file objects :attr:`stdout`, - :attr:`stdin` and :attr:`stderr` are not updated by the communicate() method. + :attr:`stdin` and :attr:`stderr` are not updated by the :meth:`communicate` method. The *startupinfo* and *creationflags*, if given, will be passed to the underlying CreateProcess() function. They can specify things such as appearance @@ -215,7 +215,7 @@ Instances of the :class:`Popen` class have the following methods: 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 + *input* argument should be a byte 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)``. |