Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d529ebb

Browse files
committed
Merge: #24998: fix cut and paste error in subprocess example.
2 parents 9f5bf02 + 17227a7 commit d529ebb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/subprocess.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ Return code handling translates as follows::
10681068
if rc is not None and rc >> 8:
10691069
print("There were some errors")
10701070
==>
1071-
process = Popen(cmd, 'w', stdin=PIPE)
1071+
process = Popen(cmd, stdin=PIPE)
10721072
...
10731073
process.stdin.close()
10741074
if process.wait() != 0:

0 commit comments

Comments
 (0)