Skip to content

Commit 28622dc

Browse files
Update Misc/NEWS.d/next/Library/2025-07-01-02-19-00.gh-issue-136157.jGs_zV.rst
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent 870f818 commit 28622dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Optimized ``asyncio.to_thread`` to avoid unnecessary performance overhead from calling ``contextvars.copy_context().run`` when the context is empty.
1+
Optimized :func:`asyncio.to_thread``to avoid unnecessary performance overhead from calling :meth:`contextvars.Context.run`` when the context is empty.

0 commit comments

Comments
 (0)