diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-09-04 10:01:19 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-09-04 10:01:19 -0400 |
commit | db6385c259b69ba95975b054e8bdb7614e8b0085 (patch) | |
tree | b140921e9482929b55a725b610db5ae2594ef5a5 | |
parent | 28dec4a9cb8971484c16e86538977f3072a564fe (diff) | |
download | cpython-db6385c259b69ba95975b054e8bdb7614e8b0085.tar.gz |
#24998: fix cut and paste error in subprocess example.
-rw-r--r-- | Doc/library/subprocess.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 36cbf3c5f3..9ac8882d32 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -1000,7 +1000,7 @@ Return code handling translates as follows:: if rc is not None and rc >> 8: print("There were some errors") ==> - process = Popen(cmd, 'w', stdin=PIPE) + process = Popen(cmd, stdin=PIPE) ... process.stdin.close() if process.wait() != 0: |