Mailing List Archive

Trivial typo in docstring (#27505)
https://github.com/python/cpython/commit/2efa78180d07f108ff05464016c47989484f3efb
commit: 2efa78180d07f108ff05464016c47989484f3efb
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
committer: jcea <jcea@jcea.es>
date: 2021-07-31T07:04:38+02:00
summary:

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>

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.


_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins