mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Trivial typo in docstring
This commit is contained in:
parent
b6bde9fc42
commit
4b4227b907
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