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

View file

@ -1068,7 +1068,7 @@ Return code handling translates as follows::
if rc is not None and rc >> 8: if rc is not None and rc >> 8:
print("There were some errors") print("There were some errors")
==> ==>
process = Popen(cmd, 'w', stdin=PIPE) process = Popen(cmd, stdin=PIPE)
... ...
process.stdin.close() process.stdin.close()
if process.wait() != 0: if process.wait() != 0: