commit | bda9bd1d1ccd3d40af82e4ec0b7767fe4eb2ad96 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Fri Sep 04 10:00:22 2015 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Fri Sep 04 10:00:22 2015 -0400 |
tree | 6c5435daa239b5a82642b4ea1248e1907f83a022 | |
parent | 99c1a6d5f1b83c51abb5205d3ded3db841ae4fe6 [diff] |
#24998: fix cut and paste error in subprocess example.
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 @@ 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: