From 8bd05191faf6267080daf6646e79d288552cbb68 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 22 Jun 2008 18:11:52 +0000 Subject: #3085: Fix syntax error. --- Doc/library/subprocess.rst | 4 ++-- 1 file 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 -- cgit v0.12