From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 31 Jul 2021 05:04:45 +0000 (-0700) Subject: Trivial typo in docstring (#27504) X-Git-Tag: v3.10.0rc1~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12073fc6fdb22f51765f2396aa632932d3ff7276;p=thirdparty%2FPython%2Fcpython.git Trivial typo in docstring (#27504) (cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e) Co-authored-by: Jesús Cea Co-authored-by: Jesús Cea --- diff --git a/Lib/asyncio/threads.py b/Lib/asyncio/threads.py index 34b7513a4209..db048a8231de 100644 --- a/Lib/asyncio/threads.py +++ b/Lib/asyncio/threads.py @@ -13,7 +13,7 @@ async def to_thread(func, /, *args, **kwargs): """Asynchronously run function *func* in a separate thread. Any *args and **kwargs supplied for this function are directly passed - to *func*. Also, the current :class:`contextvars.Context` is propogated, + to *func*. Also, the current :class:`contextvars.Context` is propagated, allowing context variables from the main thread to be accessed in the separate thread.