mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +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.
|
"""Asynchronously run function *func* in a separate thread.
|
||||||
|
|
||||||
Any *args and **kwargs supplied for this function are directly passed
|
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
|
allowing context variables from the main thread to be accessed in the
|
||||||
separate thread.
|
separate thread.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue