[Python-checkins] r64461 - python/trunk/Doc/library/subprocess.rst

georg.brandl python-checkins at python.org
Sun Jun 22 20:11:52 CEST 2008


Author: georg.brandl
Date: Sun Jun 22 20:11:52 2008
New Revision: 64461
Log:
#3085: Fix syntax error.
Modified:
 python/trunk/Doc/library/subprocess.rst
Modified: python/trunk/Doc/library/subprocess.rst
==============================================================================
--- python/trunk/Doc/library/subprocess.rst	(original)
+++ python/trunk/Doc/library/subprocess.rst	Sun Jun 22 20:11:52 2008
@@ -372,13 +372,13 @@
 
 ::
 
- 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
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /