summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/threads.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-31 05:04:45 (GMT)
committerGitHub <noreply@github.com>2021-07-31 05:04:45 (GMT)
commit12073fc6fdb22f51765f2396aa632932d3ff7276 (patch)
treefaba56a0c80cc0600fe35b3e911b8de8927392d1 /Lib/asyncio/threads.py
parentf468ede4a2b7ab5c72ae85ab04cb56904300cd23 (diff)
downloadcpython-12073fc6fdb22f51765f2396aa632932d3ff7276.zip
cpython-12073fc6fdb22f51765f2396aa632932d3ff7276.tar.gz
cpython-12073fc6fdb22f51765f2396aa632932d3ff7276.tar.bz2
Trivial typo in docstring (#27504)
(cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e) Co-authored-by: Jesús Cea <jcea@jcea.es> Co-authored-by: Jesús Cea <jcea@jcea.es>
Diffstat (limited to 'Lib/asyncio/threads.py')
-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.