diff options
author | Yury Selivanov <yury@magic.io> | 2018-09-17 19:35:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 19:35:24 (GMT) |
commit | 394374e30c85f6eacddbbfc7471aab62b54ce021 (patch) | |
tree | 8f40e320a7eb6093fcee25d3cd8456a3ccf1bb9f /Doc/library/asyncio-stream.rst | |
parent | c6fd1c1c3a65217958b68df3a4991e4f306e9b7d (diff) | |
download | cpython-394374e30c85f6eacddbbfc7471aab62b54ce021.zip cpython-394374e30c85f6eacddbbfc7471aab62b54ce021.tar.gz cpython-394374e30c85f6eacddbbfc7471aab62b54ce021.tar.bz2 |
bpo-33649: Add low-level APIs index. (GH-9364)
Diffstat (limited to 'Doc/library/asyncio-stream.rst')
-rw-r--r-- | Doc/library/asyncio-stream.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 29163a2..0489201 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -348,7 +348,7 @@ TCP echo client using the :func:`asyncio.open_connection` function:: .. seealso:: - The :ref:`TCP echo client protocol <asyncio-tcp-echo-client-protocol>` + The :ref:`TCP echo client protocol <asyncio_example_tcp_echo_client_protocol>` example uses the low-level :meth:`loop.create_connection` method. @@ -390,7 +390,7 @@ TCP echo server using the :func:`asyncio.start_server` function:: .. seealso:: - The :ref:`TCP echo server protocol <asyncio-tcp-echo-server-protocol>` + The :ref:`TCP echo server protocol <asyncio_example_tcp_echo_server_protocol>` example uses the :meth:`loop.create_server` method. @@ -444,7 +444,7 @@ or with HTTPS:: python example.py https://example.com/path/page.html -.. _asyncio-register-socket-streams: +.. _asyncio_example_create_connection-streams: Register an open socket to wait for data using streams ------------------------------------------------------ @@ -484,9 +484,9 @@ Coroutine waiting until a socket receives data using the .. seealso:: The :ref:`register an open socket to wait for data using a protocol - <asyncio-register-socket>` example uses a low-level protocol and + <asyncio_example_create_connection>` example uses a low-level protocol and the :meth:`loop.create_connection` method. The :ref:`watch a file descriptor for read events - <asyncio-watch-read-event>` example uses the low-level + <asyncio_example_watch_fd>` example uses the low-level :meth:`loop.add_reader` method to watch a file descriptor. |