@@ -681,12 +681,12 @@ Handle
681681
682682
683683Event loop examples
684- ===================
684+ -------------------
685685
686686.. _asyncio-hello-world-callback :
687687
688688Hello World with call_soon()
689- ----------------------------
689+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
690690
691691Example using the :meth: `BaseEventLoop.call_soon ` method to schedule a
692692callback. The callback displays ``"Hello World" `` and then stops the event
@@ -716,7 +716,7 @@ loop::
716716.. _asyncio-date-callback :
717717
718718Display the current date with call_later()
719- ------------------------------------------
719+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
720720
721721Example of callback displaying the current date every second. The callback uses
722722the :meth: `BaseEventLoop.call_later ` method to reschedule itself during 5
@@ -752,7 +752,7 @@ seconds, and then stops the event loop::
752752.. _asyncio-watch-read-event :
753753
754754Watch a file descriptor for read events
755- ---------------------------------------
755+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
756756
757757Wait until a file descriptor received some data using the
758758:meth: `BaseEventLoop.add_reader ` method and then close the event loop::
@@ -801,7 +801,7 @@ Wait until a file descriptor received some data using the
801801
802802
803803Set signal handlers for SIGINT and SIGTERM
804- ------------------------------------------
804+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
805805
806806Register handlers for signals :py:data: `SIGINT ` and :py:data: `SIGTERM ` using
807807the :meth: `BaseEventLoop.add_signal_handler ` method::
0 commit comments