[Python-checkins] Trivial typo in docstring (#27504)

jcea webhook-mailer at python.org
Sat Jul 31 01:04:49 EDT 2021


https://github.com/python/cpython/commit/12073fc6fdb22f51765f2396aa632932d3ff7276
commit: 12073fc6fdb22f51765f2396aa632932d3ff7276
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: jcea <jcea at jcea.es>
date: 2021-07-31T07:04:45+02:00
summary:

Trivial typo in docstring (#27504)

(cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e)

Co-authored-by: Jesús Cea <jcea at jcea.es>

Co-authored-by: Jesús Cea <jcea at jcea.es>

files:
M Lib/asyncio/threads.py

diff --git a/Lib/asyncio/threads.py b/Lib/asyncio/threads.py
index 34b7513a420902..db048a8231de16 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.
 



More information about the Python-checkins mailing list