@@ -980,7 +980,7 @@ Availability: UNIX.
980980Executing code in thread or process pools
981981^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
982982
983- .. method :: loop.run_in_executor(executor, func, \*args)
983+ .. coroutinemethod :: loop.run_in_executor(executor, func, \*args)
984984
985985 Arrange for a *func * to be called in the specified executor.
986986
@@ -1418,7 +1418,7 @@ need to be written this way; consider using high-level functions
14181418like :func: `asyncio.run `.
14191419
14201420
1421- .. _ asyncio-hello-world-callback :
1421+ .. _ asyncio_example_lowlevel_helloworld :
14221422
14231423Hello World with call_soon()
14241424^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1451,7 +1451,7 @@ event loop::
14511451 example created with a coroutine and the :func: `run ` function.
14521452
14531453
1454- .. _ asyncio-date-callback :
1454+ .. _ asyncio_example_call_later :
14551455
14561456Display the current date with call_later()
14571457^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1488,7 +1488,7 @@ during 5 seconds, and then stops the event loop::
14881488 created with a coroutine and the :func: `run ` function.
14891489
14901490
1491- .. _ asyncio-watch-read-event :
1491+ .. _ asyncio_example_watch_fd :
14921492
14931493Watch a file descriptor for read events
14941494^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1531,15 +1531,17 @@ Wait until a file descriptor received some data using the
15311531
15321532.. seealso ::
15331533
1534- * A similar :ref: `example <asyncio-register-socket >`
1534+ * A similar :ref: `example <asyncio_example_create_connection >`
15351535 using transports, protocols, and the
15361536 :meth: `loop.create_connection ` method.
15371537
1538- * Another similar :ref: `example <asyncio-register-socket -streams >`
1538+ * Another similar :ref: `example <asyncio_example_create_connection -streams >`
15391539 using the high-level :func: `asyncio.open_connection ` function
15401540 and streams.
15411541
15421542
1543+ .. _asyncio_example_unix_signals :
1544+
15431545Set signal handlers for SIGINT and SIGTERM
15441546^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15451547
0 commit comments