summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-31 05:04:38 (GMT)
committerGitHub <noreply@github.com>2021-07-31 05:04:38 (GMT)
commit2efa78180d07f108ff05464016c47989484f3efb (patch)
treef67157a76f4852053ca94cf15a1714b67f6f352a
parent0f42b726c87f72d522893f927b4cb592b8875641 (diff)
downloadcpython-2efa78180d07f108ff05464016c47989484f3efb.zip
cpython-2efa78180d07f108ff05464016c47989484f3efb.tar.gz
cpython-2efa78180d07f108ff05464016c47989484f3efb.tar.bz2
Trivial typo in docstring (#27505)
(cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e) Co-authored-by: Jesús Cea <jcea@jcea.es> Co-authored-by: Jesús Cea <jcea@jcea.es>
-rw-r--r--Lib/asyncio/threads.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/threads.py b/Lib/asyncio/threads.py
index 34b7513..db048a8 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.