#3085: Fix syntax error.

This commit is contained in:
Georg Brandl 2008-06-22 18:11:52 +00:00
parent b8242ba6b1
commit 8bd05191fa
1 changed files with 2 additions and 2 deletions

View File

@ -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