diff options
author | Georg Brandl <georg@python.org> | 2008-06-22 18:11:52 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-22 18:11:52 (GMT) |
commit | 8bd05191faf6267080daf6646e79d288552cbb68 (patch) | |
tree | 826b2f67f58d82946c69cb4d40a352e283f652dc | |
parent | b8242ba6b1ee692d3241c1035d77cd2889cacacc (diff) | |
download | cpython-8bd05191faf6267080daf6646e79d288552cbb68.zip cpython-8bd05191faf6267080daf6646e79d288552cbb68.tar.gz cpython-8bd05191faf6267080daf6646e79d288552cbb68.tar.bz2 |
#3085: Fix syntax error.
-rw-r--r-- | Doc/library/subprocess.rst | 4 |
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 |