@@ -509,7 +509,7 @@ Opening network connections
509509
510510 .. versionchanged :: 3.6
511511
512- The socket option :py:const: ` ~ socket.TCP_NODELAY ` is set by default
512+ The socket option :ref: ` socket.TCP_NODELAY < socket-unix-constants > ` is set by default
513513 for all TCP connections.
514514
515515 .. versionchanged :: 3.7
@@ -581,7 +581,7 @@ Opening network connections
581581 * *reuse_port * tells the kernel to allow this endpoint to be bound to the
582582 same port as other existing endpoints are bound to, so long as they all
583583 set this flag when being created. This option is not supported on Windows
584- and some Unixes. If the :py:const: ` ~ socket.SO_REUSEPORT ` constant is not
584+ and some Unixes. If the :ref: ` socket.SO_REUSEPORT < socket-unix-constants > ` constant is not
585585 defined then this capability is unsupported.
586586
587587 * *allow_broadcast * tells the kernel to allow this endpoint to send
@@ -607,7 +607,8 @@ Opening network connections
607607
608608 .. versionchanged :: 3.8.1
609609 The *reuse_address * parameter is no longer supported, as using
610- :py:const: `~sockets.SO_REUSEADDR ` poses a significant security concern for
610+ :ref: `socket.SO_REUSEADDR <socket-unix-constants >`
611+ poses a significant security concern for
611612 UDP. Explicitly passing ``reuse_address=True `` will raise an exception.
612613
613614 When multiple processes with differing UIDs assign sockets to an
@@ -616,7 +617,8 @@ Opening network connections
616617
617618 For supported platforms, *reuse_port * can be used as a replacement for
618619 similar functionality. With *reuse_port *,
619- :py:const: `~sockets.SO_REUSEPORT ` is used instead, which specifically
620+ :ref: `socket.SO_REUSEPORT <socket-unix-constants >`
621+ is used instead, which specifically
620622 prevents processes with differing UIDs from assigning sockets to the same
621623 socket address.
622624
@@ -758,7 +760,7 @@ Creating network servers
758760 .. versionchanged :: 3.6
759761
760762 Added *ssl_handshake_timeout * and *start_serving * parameters.
761- The socket option :py:const: ` ~ socket.TCP_NODELAY ` is set by default
763+ The socket option :ref: ` socket.TCP_NODELAY < socket-unix-constants > ` is set by default
762764 for all TCP connections.
763765
764766 .. versionchanged :: 3.11
@@ -1896,7 +1898,7 @@ Set signal handlers for SIGINT and SIGTERM
18961898
18971899(This ``signals `` example only works on Unix.)
18981900
1899- Register handlers for signals :py:data: ` SIGINT ` and :py:data: ` SIGTERM `
1901+ Register handlers for signals :const: ` ~signal. SIGINT ` and :const: ` ~signal. SIGTERM `
19001902using the :meth: `loop.add_signal_handler ` method::
19011903
19021904 import asyncio
0 commit comments