Commit 6793cce1 authored by Xtreak's avatar Xtreak Committed by Andrew Svetlov

bpo-36889: Document asyncio Stream and StreamServer (GH-14203)

parent 6ffd9b05
...@@ -1625,8 +1625,7 @@ Wait until a file descriptor received some data using the ...@@ -1625,8 +1625,7 @@ Wait until a file descriptor received some data using the
:meth:`loop.create_connection` method. :meth:`loop.create_connection` method.
* Another similar :ref:`example <asyncio_example_create_connection-streams>` * Another similar :ref:`example <asyncio_example_create_connection-streams>`
using the high-level :func:`asyncio.open_connection` function using the high-level :func:`asyncio.connect` function and streams.
and streams.
.. _asyncio_example_unix_signals: .. _asyncio_example_unix_signals:
......
...@@ -810,7 +810,7 @@ data, and waits until the connection is closed:: ...@@ -810,7 +810,7 @@ data, and waits until the connection is closed::
.. seealso:: .. seealso::
The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>` The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>`
example uses the high-level :func:`asyncio.open_connection` function. example uses the high-level :func:`asyncio.connect` function.
.. _asyncio-udp-echo-server-protocol: .. _asyncio-udp-echo-server-protocol:
...@@ -977,7 +977,7 @@ Wait until a socket receives data using the ...@@ -977,7 +977,7 @@ Wait until a socket receives data using the
The :ref:`register an open socket to wait for data using streams The :ref:`register an open socket to wait for data using streams
<asyncio_example_create_connection-streams>` example uses high-level streams <asyncio_example_create_connection-streams>` example uses high-level streams
created by the :func:`open_connection` function in a coroutine. created by the :func:`asyncio.connect` function in a coroutine.
.. _asyncio_example_subprocess_proto: .. _asyncio_example_subprocess_proto:
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment