summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-protocol.rst
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-06-24 18:16:58 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2019-06-24 18:16:58 (GMT)
commit6793cce155f8875b10efd746cb0b34cb72263af7 (patch)
treea298bfd89bb2f4294a52a9ffcd950efe0840004b /Doc/library/asyncio-protocol.rst
parent6ffd9b05dfade9e3a101fe039157856eb855f82e (diff)
downloadcpython-6793cce155f8875b10efd746cb0b34cb72263af7.zip
cpython-6793cce155f8875b10efd746cb0b34cb72263af7.tar.gz
cpython-6793cce155f8875b10efd746cb0b34cb72263af7.tar.bz2
bpo-36889: Document asyncio Stream and StreamServer (GH-14203)
Diffstat (limited to 'Doc/library/asyncio-protocol.rst')
-rw-r--r--Doc/library/asyncio-protocol.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index f08738d..3e5a4dd 100644
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -810,7 +810,7 @@ data, and waits until the connection is closed::
.. seealso::
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:
@@ -977,7 +977,7 @@ Wait until a socket receives data using the
The :ref:`register an open socket to wait for data using 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: