diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-09-04 14:00:22 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-09-04 14:00:22 (GMT) |
commit | bda9bd1d1ccd3d40af82e4ec0b7767fe4eb2ad96 (patch) | |
tree | 6c5435daa239b5a82642b4ea1248e1907f83a022 | |
parent | 99c1a6d5f1b83c51abb5205d3ded3db841ae4fe6 (diff) | |
download | cpython-bda9bd1d1ccd3d40af82e4ec0b7767fe4eb2ad96.zip cpython-bda9bd1d1ccd3d40af82e4ec0b7767fe4eb2ad96.tar.gz cpython-bda9bd1d1ccd3d40af82e4ec0b7767fe4eb2ad96.tar.bz2 |
#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 114907f..01a791c 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -852,7 +852,7 @@ Return code handling translates as follows:: if rc is not None and rc >> 8: print "There were some errors" ==> - process = Popen("cmd", 'w', shell=True, stdin=PIPE) + process = Popen("cmd", shell=True, stdin=PIPE) ... process.stdin.close() if process.wait() != 0: |