diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-11-08 16:33:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 16:33:28 (GMT) |
commit | b51c2832f08bcbe7dfee563c77e61c1db08bc7af (patch) | |
tree | a07fa20dc0f8d2599e739461697d8032ac02cf37 | |
parent | 9bb8e18ca46fe66fa6802602f8a7228a24dd785f (diff) | |
download | cpython-b51c2832f08bcbe7dfee563c77e61c1db08bc7af.zip cpython-b51c2832f08bcbe7dfee563c77e61c1db08bc7af.tar.gz cpython-b51c2832f08bcbe7dfee563c77e61c1db08bc7af.tar.bz2 |
Fix broken link in `asyncio-subprocesses` doc (GH-99214)
GH- Fix broken link in Doc/library/asyncio-subprocess.rst
This is a trivial fix in documentation to fix a broken link.
There is a broken link in [Doc/library/asyncio-subprocess.rst](https://docs.python.org/3/library/asyncio-subprocess.htmlGH-asyncio.subprocess.Process) for the function ``wait_for``:

I suppose this refers to the function ``asyncio.wait_for`` which is not clear in the docs.
This PR fixes the link and the result looks like the following:

(cherry picked from commit acf4d5d5bdecbc8756276731e09bae245d88518d)
Co-authored-by: Mikael Koli <koli.mikael@gmail.com>
Automerge-Triggered-By: GH:AlexWaygood
-rw-r--r-- | Doc/library/asyncio-subprocess.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst index 28d0b21..4274638 100644 --- a/Doc/library/asyncio-subprocess.rst +++ b/Doc/library/asyncio-subprocess.rst @@ -175,7 +175,7 @@ their completion. * the :meth:`~asyncio.subprocess.Process.communicate` and :meth:`~asyncio.subprocess.Process.wait` methods don't have a - *timeout* parameter: use the :func:`wait_for` function; + *timeout* parameter: use the :func:`~asyncio.wait_for` function; * the :meth:`Process.wait() <asyncio.subprocess.Process.wait>` method is asynchronous, whereas :meth:`subprocess.Popen.wait` method |