]> granicus.if.org Git - python/commitdiff
Turn section references into proper cross-references.
authorGeorg Brandl <georg@python.org>
Sun, 22 Jun 2008 09:05:29 +0000 (09:05 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 22 Jun 2008 09:05:29 +0000 (09:05 +0000)
Doc/library/os.rst
Doc/library/popen2.rst
Doc/library/subprocess.rst

index 8b716b2602e37847083565e2c5df0d391e43c8d9..df32a43536f322630025418ea7a33239d792151d 100644 (file)
@@ -363,8 +363,7 @@ These functions create new file objects. (See also :func:`open`.)
 
    .. 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 @@ functions, see :ref:`popen2-flow-control`.
    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 @@ functions, see :ref:`popen2-flow-control`.
    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 @@ functions, see :ref:`popen2-flow-control`.
    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 @@ written in Python, such as a mail server's external command delivery program.
 
    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()
index 84bde2b3a0a969376fdb4f65f462147b2570df50..af2e251dfe594cefd4c041b0d783a084bb49af45 100644 (file)
@@ -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.
index c1be5ab78e07d225568b94b38e595e575c33b6f3..73a5cc551fd57e1162506c8c642df449749e2645 100644 (file)
@@ -273,6 +273,8 @@ The following attributes are also available:
    ``N`` (Unix only).
 
 
+.. _subprocess-replacements:
+
 Replacing Older Functions with the subprocess Module
 ----------------------------------------------------