summaryrefslogtreecommitdiff
path: root/Doc/library/asyncio-subprocess.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/asyncio-subprocess.rst')
-rw-r--r--Doc/library/asyncio-subprocess.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst
index ef8a1cbb4b..57a7a378b8 100644
--- a/Doc/library/asyncio-subprocess.rst
+++ b/Doc/library/asyncio-subprocess.rst
@@ -318,6 +318,8 @@ An example using the :class:`~asyncio.subprocess.Process` class to
control a subprocess and the :class:`StreamReader` class to read from
the *stdout*.
+.. _asyncio_example_create_subprocess_exec:
+
The subprocess is created by the :func:`create_subprocess_exec`
function::
@@ -349,5 +351,5 @@ function::
print(f"Current date: {date}")
-See also the :ref:`same example <asyncio-subprocess-proto-example>`
+See also the :ref:`same example <asyncio_example_subprocess_proto>`
written using low-level APIs.