This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: module docstring for subprocess is wrong
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: nnorwitz
Priority: normal Keywords:

Created on 2006-12-28 21:49 by nnorwitz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg30879 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-12-28 21:49
The module docstring for subprocess is wrong.  It says:

communicate(input=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 stdin argument should be a string to be
    sent to the child process, or None, if no data should be sent to
    the child.

I'm not sure how to word the first stdin, but the second one should definitely be input, not stdin.

Also need to verify the docstring for the communicate method.

I'm guessing this affects Python 2.4 and later.  Looking at 2.4.1? right now.
msg30880 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-12-29 03:02
Committed revision 53187. (2.5)
Committed revision 53188.
msg30881 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2007-01-06 21:19
Committed revision 53187. (2.5)
Committed revision 53188.
History
Date User Action Args
2022-04-11 14:56:21adminsetgithub: 44384
2006-12-28 21:49:31nnorwitzcreate