summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-09-04 14:03:03 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-09-04 14:03:03 (GMT)
commitd3639dc21a709f20c1203a762a58c7e688325bad (patch)
tree1edc1f53348cf940ef4f74c0b9649dfe7e5748ba
parentd19e2a54ec334ca47851f3c4ccdac004602d43c0 (diff)
parentd529ebb438f61d497b492268e18bc435f57ab735 (diff)
downloadcpython-d3639dc21a709f20c1203a762a58c7e688325bad.zip
cpython-d3639dc21a709f20c1203a762a58c7e688325bad.tar.gz
cpython-d3639dc21a709f20c1203a762a58c7e688325bad.tar.bz2
Merge: #24998: fix cut and paste error in subprocess example.
-rw-r--r--Doc/library/subprocess.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index efcacce..adf99ec 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -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: