[Python-checkins] r64448 - in python/trunk/Doc/library: os.rst popen2.rst

facundo.batista python-checkins at python.org
Sat Jun 21 21:48:20 CEST 2008


Author: facundo.batista
Date: Sat Jun 21 21:48:19 2008
New Revision: 64448
Log:
In the deprecated functions I added an alert to review
specially a section of the subprocess documentation
that helps with the replacing of those functionss.
Modified:
 python/trunk/Doc/library/os.rst
 python/trunk/Doc/library/popen2.rst
Modified: python/trunk/Doc/library/os.rst
==============================================================================
--- python/trunk/Doc/library/os.rst	(original)
+++ python/trunk/Doc/library/os.rst	Sat Jun 21 21:48:19 2008
@@ -362,7 +362,9 @@
 is returned. Availability: Macintosh, Unix, Windows.
 
 .. deprecated:: 2.6
- This function is obsolete. Use the :mod:`subprocess` module.
+ This function is obsolete. Use the :mod:`subprocess` module. Check 
+ specially the *Replacing Older Functions with the subprocess Module* 
+ section in that documentation page.
 
 .. versionchanged:: 2.0
 This function worked unreliably under Windows in earlier versions of Python.
@@ -412,7 +414,8 @@
 
 .. deprecated:: 2.6
 All of the :func:`popen\*` functions are obsolete. Use the :mod:`subprocess`
- module.
+ module. Check specially the *Replacing Older Functions with the
+ subprocess Module* section in that documentation page.
 
 Availability: Macintosh, Unix, Windows.
 
@@ -426,7 +429,8 @@
 
 .. deprecated:: 2.6
 All of the :func:`popen\*` functions are obsolete. Use the :mod:`subprocess`
- module.
+ module. Check specially the *Replacing Older Functions with the
+ subprocess Module* section in that documentation page.
 
 Availability: Macintosh, Unix, Windows.
 
@@ -440,7 +444,8 @@
 
 .. deprecated:: 2.6
 All of the :func:`popen\*` functions are obsolete. Use the :mod:`subprocess`
- module.
+ module. Check specially the *Replacing Older Functions with the
+ subprocess Module* section in that documentation page.
 
 Availability: Macintosh, Unix, Windows.
 
@@ -1707,7 +1712,8 @@
 
 (Note that the :mod:`subprocess` module provides more powerful facilities for
 spawning new processes and retrieving their results; using that module is
- preferable to using these functions.)
+ preferable to using these functions. Check specially the *Replacing Older 
+ Functions with the subprocess Module* section in that documentation page.)
 
 If *mode* is :const:`P_NOWAIT`, this function returns the process id of the new
 process; if *mode* is :const:`P_WAIT`, returns the process's exit code if it
@@ -1842,7 +1848,8 @@
 
 The :mod:`subprocess` module provides more powerful facilities for spawning new
 processes and retrieving their results; using that module is preferable to using
- this function.
+ this function. Check specially the *Replacing Older Functions with the
+ subprocess Module* section in that documentation page.
 
 
 .. function:: times()
Modified: python/trunk/Doc/library/popen2.rst
==============================================================================
--- python/trunk/Doc/library/popen2.rst	(original)
+++ python/trunk/Doc/library/popen2.rst	Sat Jun 21 21:48:19 2008
@@ -9,7 +9,9 @@
 
 
 .. deprecated:: 2.6
- This module is obsolete. Use the :mod:`subprocess` module.
+ This module is obsolete. Use the :mod:`subprocess` module. Check 
+ specially the *Replacing Older Functions with the subprocess Module* 
+ section in that documentation page.
 
 This module allows you to spawn processes and connect to their
 input/output/error pipes and obtain their return codes under Unix and Windows.


More information about the Python-checkins mailing list

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