mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Trivial typo in docstring (#27504)
(cherry picked from commit 4b4227b907
)
Co-authored-by: Jesús Cea <jcea@jcea.es>
Co-authored-by: Jesús Cea <jcea@jcea.es>
This commit is contained in:
parent
f468ede4a2
commit
12073fc6fd
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue