From: Ezio Melotti Date: Thu, 8 Nov 2012 08:07:10 +0000 (+0200) Subject: #10385: use the mod role in subprocess docs. X-Git-Tag: v2.7.4rc1~403 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26025d6385da0be1778c15ff99938e60be58c485;p=thirdparty%2FPython%2Fcpython.git #10385: use the mod role in subprocess docs. --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 8154c71758e0..b7ed587fcb69 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -28,8 +28,8 @@ modules and functions can be found in the following sections. :pep:`324` -- PEP proposing the subprocess module -Using the subprocess Module ---------------------------- +Using the :mod:`subprocess` Module +---------------------------------- The recommended approach to invoking subprocesses is to use the following convenience functions for all use cases they can handle. For more advanced @@ -680,8 +680,8 @@ The :mod:`subprocess` module exposes the following constants. .. _subprocess-replacements: -Replacing Older Functions with the subprocess Module ----------------------------------------------------- +Replacing Older Functions with the :mod:`subprocess` Module +----------------------------------------------------------- In this section, "a becomes b" means that b can be used as a replacement for a. @@ -697,7 +697,7 @@ In this section, "a becomes b" means that b can be used as a replacement for a. the raised exception. In the following examples, we assume that the relevant functions have already -been imported from the subprocess module. +been imported from the :mod:`subprocess` module. Replacing /bin/sh shell backquote