Skip to content

Commit 6793cce

Browse files
tirkarthiasvetlov
authored andcommitted
bpo-36889: Document asyncio Stream and StreamServer (GH-14203)
1 parent 6ffd9b0 commit 6793cce

File tree

3 files changed

+280
-65
lines changed

3 files changed

+280
-65
lines changed

‎Doc/library/asyncio-eventloop.rst‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,8 +1625,7 @@ Wait until a file descriptor received some data using the
16251625
:meth:`loop.create_connection` method.
16261626

16271627
* Another similar :ref:`example <asyncio_example_create_connection-streams>`
1628-
using the high-level :func:`asyncio.open_connection` function
1629-
and streams.
1628+
using the high-level :func:`asyncio.connect` function and streams.
16301629

16311630

16321631
.. _asyncio_example_unix_signals:

‎Doc/library/asyncio-protocol.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ data, and waits until the connection is closed::
810810
.. seealso::
811811

812812
The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>`
813-
example uses the high-level :func:`asyncio.open_connection` function.
813+
example uses the high-level :func:`asyncio.connect` function.
814814

815815

816816
.. _asyncio-udp-echo-server-protocol:
@@ -977,7 +977,7 @@ Wait until a socket receives data using the
977977

978978
The :ref:`register an open socket to wait for data using streams
979979
<asyncio_example_create_connection-streams>` example uses high-level streams
980-
created by the :func:`open_connection` function in a coroutine.
980+
created by the :func:`asyncio.connect` function in a coroutine.
981981

982982
.. _asyncio_example_subprocess_proto:
983983

0 commit comments

Comments
 (0)