[Python-checkins] gh-95767: Fix grammatical error in asyncio loop.create_task docs (#95768)

erlend-aasland webhook-mailer at python.org
Tue Aug 9 09:59:45 EDT 2022


https://github.com/python/cpython/commit/141f2517fc36cc7a0caf177f270edb6d39cf3d23
commit: 141f2517fc36cc7a0caf177f270edb6d39cf3d23
branch: main
author: Andrzej Bartosiński <6197476+Neob91 at users.noreply.github.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-08-09T15:59:27+02:00
summary:

gh-95767: Fix grammatical error in asyncio loop.create_task docs (#95768)

files:
M Doc/library/asyncio-eventloop.rst

diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 4f0f8c06fee..555a0f5cb2a 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -332,7 +332,7 @@ Creating Futures and Tasks
 
 .. method:: loop.create_task(coro, *, name=None, context=None)
 
-   Schedule the execution of a :ref:`coroutine`.
+   Schedule the execution of :ref:`coroutine <coroutine>` *coro*.
    Return a :class:`Task` object.
 
    Third-party event loops can use their own subclass of :class:`Task`



More information about the Python-checkins mailing list