]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Trivial typo in docstring (#27504)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 31 Jul 2021 05:04:45 +0000 (22:04 -0700)
committerGitHub <noreply@github.com>
Sat, 31 Jul 2021 05:04:45 +0000 (07:04 +0200)
(cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e)

Co-authored-by: Jesús Cea <jcea@jcea.es>
Co-authored-by: Jesús Cea <jcea@jcea.es>
Lib/asyncio/threads.py

index 34b7513a42090298a69a92858e8deb91322c6bfb..db048a8231de166e2af4f2e06092d98def9b1703 100644 (file)
@@ -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.