#10385: use the mod role in subprocess docs.
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index e260a1f..fc456a1 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -22,8 +22,8 @@
: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
@@ -731,8 +731,8 @@
.. _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.
@@ -748,7 +748,7 @@
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