@@ -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 |
|