summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno <brunogeninatti@gmail.com>2021-05-19 21:18:42 (GMT)
committerGitHub <noreply@github.com>2021-05-19 21:18:42 (GMT)
commitb66a03a49157076cb15a002aaf44a011cc79be3b (patch)
tree375bde8f6efb8f2a2e8d6d294fdfc554a7151f82
parentc054e8f78f53035e06d6dc58c423d76c8a5fa39a (diff)
downloadcpython-b66a03a49157076cb15a002aaf44a011cc79be3b.zip
cpython-b66a03a49157076cb15a002aaf44a011cc79be3b.tar.gz
cpython-b66a03a49157076cb15a002aaf44a011cc79be3b.tar.bz2
[doc] Fix typo in asyncio-eventloop documentation (GH-22311)
-rw-r--r--Doc/library/asyncio-eventloop.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index ca91efe..f34fe09 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -445,7 +445,7 @@ Opening network connections
and *local_addr* should be specified.
* *local_addr*, if given, is a ``(local_host, local_port)`` tuple used
- to bind the socket to locally. The *local_host* and *local_port*
+ to bind the socket locally. The *local_host* and *local_port*
are looked up using ``getaddrinfo()``, similarly to *host* and *port*.
* *ssl_handshake_timeout* is (for a TLS connection) the time in seconds
@@ -523,7 +523,7 @@ Opening network connections
Other arguments:
* *local_addr*, if given, is a ``(local_host, local_port)`` tuple used
- to bind the socket to locally. The *local_host* and *local_port*
+ to bind the socket locally. The *local_host* and *local_port*
are looked up using :meth:`getaddrinfo`.
* *remote_addr*, if given, is a ``(remote_host, remote_port)`` tuple used