bpo-36889: Document asyncio Stream and StreamServer (GH-14203) · python/cpython@6793cce (original) (raw)

3 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -1625,8 +1625,7 @@ Wait until a file descriptor received some data using the
1625 1625 :meth:`loop.create_connection` method.
1626 1626
1627 1627 * 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.
1630 1629
1631 1630
1632 1631 .. _asyncio_example_unix_signals:
Original file line number Diff line number Diff line change
@@ -810,7 +810,7 @@ data, and waits until the connection is closed::
810 810 .. seealso::
811 811
812 812 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.
814 814
815 815
816 816 .. _asyncio-udp-echo-server-protocol:
@@ -977,7 +977,7 @@ Wait until a socket receives data using the
977 977
978 978 The :ref:`register an open socket to wait for data using streams
979 979 <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.
981 981
982 982 .. _asyncio_example_subprocess_proto:
983 983