[Python-checkins] r64450 - in python/trunk/Doc/library: os.rst popen2.rst subprocess.rst
georg.brandl
python-checkins at python.org
Sun Jun 22 11:05:30 CEST 2008
Author: georg.brandl
Date: Sun Jun 22 11:05:29 2008
New Revision: 64450
Log:
Turn section references into proper cross-references.
Modified:
python/trunk/Doc/library/os.rst
python/trunk/Doc/library/popen2.rst
python/trunk/Doc/library/subprocess.rst
Modified: python/trunk/Doc/library/os.rst
==============================================================================
--- python/trunk/Doc/library/os.rst (original)
+++ python/trunk/Doc/library/os.rst Sun Jun 22 11:05:29 2008
@@ -363,8 +363,7 @@
.. deprecated:: 2.6
This function is obsolete. Use the :mod:`subprocess` module. Check
- specially the *Replacing Older Functions with the subprocess Module*
- section in that documentation page.
+ especially the :ref:`subprocess-replacements` section.
.. versionchanged:: 2.0
This function worked unreliably under Windows in earlier versions of Python.
@@ -413,9 +412,8 @@
child_stdout)``.
.. deprecated:: 2.6
- All of the :func:`popen\*` functions are obsolete. Use the :mod:`subprocess`
- module. Check specially the *Replacing Older Functions with the
- subprocess Module* section in that documentation page.
+ This function is obsolete. Use the :mod:`subprocess` module. Check
+ especially the :ref:`subprocess-replacements` section.
Availability: Macintosh, Unix, Windows.
@@ -428,9 +426,8 @@
child_stdout, child_stderr)``.
.. deprecated:: 2.6
- All of the :func:`popen\*` functions are obsolete. Use the :mod:`subprocess`
- module. Check specially the *Replacing Older Functions with the
- subprocess Module* section in that documentation page.
+ This function is obsolete. Use the :mod:`subprocess` module. Check
+ especially the :ref:`subprocess-replacements` section.
Availability: Macintosh, Unix, Windows.
@@ -443,9 +440,8 @@
child_stdout_and_stderr)``.
.. deprecated:: 2.6
- All of the :func:`popen\*` functions are obsolete. Use the :mod:`subprocess`
- module. Check specially the *Replacing Older Functions with the
- subprocess Module* section in that documentation page.
+ This function is obsolete. Use the :mod:`subprocess` module. Check
+ especially the :ref:`subprocess-replacements` section.
Availability: Macintosh, Unix, Windows.
@@ -1848,8 +1844,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. Check specially the *Replacing Older Functions with the
- subprocess Module* section in that documentation page.
+ this function. Use the :mod:`subprocess` module. Check especially the
+ :ref:`subprocess-replacements` section.
.. function:: times()
Modified: python/trunk/Doc/library/popen2.rst
==============================================================================
--- python/trunk/Doc/library/popen2.rst (original)
+++ python/trunk/Doc/library/popen2.rst Sun Jun 22 11:05:29 2008
@@ -10,8 +10,7 @@
.. deprecated:: 2.6
This module is obsolete. Use the :mod:`subprocess` module. Check
- specially the *Replacing Older Functions with the subprocess Module*
- section in that documentation page.
+ especially the :ref:`subprocess-replacements` section.
This module allows you to spawn processes and connect to their
input/output/error pipes and obtain their return codes under Unix and Windows.
Modified: python/trunk/Doc/library/subprocess.rst
==============================================================================
--- python/trunk/Doc/library/subprocess.rst (original)
+++ python/trunk/Doc/library/subprocess.rst Sun Jun 22 11:05:29 2008
@@ -273,6 +273,8 @@
``N`` (Unix only).
+.. _subprocess-replacements:
+
Replacing Older Functions with the subprocess Module
----------------------------------------------------
More information about the Python-checkins
mailing list