Commit 402f75d9 authored by Ezio Melotti's avatar Ezio Melotti

#10385: use the mod role in subprocess docs.

parent 6c5f5210
...@@ -22,8 +22,8 @@ modules and functions can be found in the following sections. ...@@ -22,8 +22,8 @@ modules and functions can be found in the following sections.
:pep:`324` -- PEP proposing the subprocess module :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 The recommended approach to invoking subprocesses is to use the following
convenience functions for all use cases they can handle. For more advanced convenience functions for all use cases they can handle. For more advanced
...@@ -731,8 +731,8 @@ The :mod:`subprocess` module exposes the following constants. ...@@ -731,8 +731,8 @@ The :mod:`subprocess` module exposes the following constants.
.. _subprocess-replacements: .. _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. In this section, "a becomes b" means that b can be used as a replacement for a.
...@@ -748,7 +748,7 @@ In this section, "a becomes b" means that b can be used as a replacement for a. ...@@ -748,7 +748,7 @@ In this section, "a becomes b" means that b can be used as a replacement for a.
the raised exception. the raised exception.
In the following examples, we assume that the relevant functions have already 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 Replacing /bin/sh shell backquote
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment