@@ -631,7 +631,7 @@ Timeouts
631631
632632 Change the time the timeout will trigger.
633633
634- If *when * is `None `, any current deadline will be removed, and the
634+ If *when * is `` None ` `, any current deadline will be removed, and the
635635 context manager will wait indefinitely.
636636
637637 If *when * is a float, it is set as the new deadline.
@@ -867,17 +867,17 @@ Running in Threads
867867 # blocking_io complete at 19:50:54
868868 # finished main at 19:50:54
869869
870- Directly calling `blocking_io() ` in any coroutine would block the event loop
870+ Directly calling `` blocking_io() ` ` in any coroutine would block the event loop
871871 for its duration, resulting in an additional 1 second of run time. Instead,
872- by using `asyncio.to_thread() `, we can run it in a separate thread without
872+ by using `` asyncio.to_thread() ` `, we can run it in a separate thread without
873873 blocking the event loop.
874874
875875 .. note ::
876876
877- Due to the :term: `GIL `, `asyncio.to_thread() ` can typically only be used
877+ Due to the :term: `GIL `, `` asyncio.to_thread() ` ` can typically only be used
878878 to make IO-bound functions non-blocking. However, for extension modules
879879 that release the GIL or alternative Python implementations that don't
880- have one, `asyncio.to_thread() ` can also be used for CPU-bound functions.
880+ have one, `` asyncio.to_thread() ` ` can also be used for CPU-bound functions.
881881
882882 .. versionadded :: 3.9
883883
0 commit comments