summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-22 18:11:52 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-22 18:11:52 (GMT)
commit8bd05191faf6267080daf6646e79d288552cbb68 (patch)
tree826b2f67f58d82946c69cb4d40a352e283f652dc
parentb8242ba6b1ee692d3241c1035d77cd2889cacacc (diff)
downloadcpython-8bd05191faf6267080daf6646e79d288552cbb68.zip
cpython-8bd05191faf6267080daf6646e79d288552cbb68.tar.gz
cpython-8bd05191faf6267080daf6646e79d288552cbb68.tar.bz2
#3085: Fix syntax error.
-rw-r--r--Doc/library/subprocess.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 73a5cc5..6fd1b98 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -372,13 +372,13 @@ Replacing os.popen\*
::
- pipe = os.popen(cmd, mode='r', bufsize)
+ pipe = os.popen(cmd, 'r', bufsize)
==>
pipe = Popen(cmd, shell=True, bufsize=bufsize, stdout=PIPE).stdout
::
- pipe = os.popen(cmd, mode='w', bufsize)
+ pipe = os.popen(cmd, 'w', bufsize)
==>
pipe = Popen(cmd, shell=True, bufsize=bufsize, stdin=PIPE).stdin