Merge: #24998: fix cut and paste error in subprocess example.

This commit is contained in:
R David Murray 2015-09-04 10:03:03 -04:00
commit d3639dc21a
1 changed files with 1 additions and 1 deletions

View File

@ -1068,7 +1068,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: