diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2021-12-23 09:17:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-23 09:17:31 (GMT) |
commit | 71ef0b4c2b77195bb1adc42602549284f7ee9566 (patch) | |
tree | 665a7cbe56718dd952ca582dc9f52fce2fa3d771 /Doc/library/asyncio-eventloop.rst | |
parent | 31ff96712e8f89ac1056c2da880b44650002219f (diff) | |
download | cpython-71ef0b4c2b77195bb1adc42602549284f7ee9566.zip cpython-71ef0b4c2b77195bb1adc42602549284f7ee9566.tar.gz cpython-71ef0b4c2b77195bb1adc42602549284f7ee9566.tar.bz2 |
bpo-46157: fix typo in docs (GH-30237)
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index a3609d3..c25b3e8 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -322,7 +322,7 @@ Creating Futures and Tasks .. method:: loop.create_future() - Create an :class:`asyncio.Future` object attached to the event loop. + Create a :class:`asyncio.Future` object attached to the event loop. This is the preferred way to create Futures in asyncio. This lets third-party event loops provide alternative implementations of @@ -649,7 +649,7 @@ Creating network servers * *backlog* is the maximum number of queued connections passed to :meth:`~socket.socket.listen` (defaults to 100). - * *ssl* can be set to an :class:`~ssl.SSLContext` instance to enable + * *ssl* can be set to a :class:`~ssl.SSLContext` instance to enable TLS over the accepted connections. * *reuse_address* tells the kernel to reuse a local socket in @@ -737,7 +737,7 @@ Creating network servers * *sock* is a preexisting socket object returned from :meth:`socket.accept <socket.socket.accept>`. - * *ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over + * *ssl* can be set to a :class:`~ssl.SSLContext` to enable SSL over the accepted connections. * *ssl_handshake_timeout* is (for an SSL connection) the time in seconds to @@ -897,7 +897,7 @@ convenient. .. versionchanged:: 3.7 Even though the method was always documented as a coroutine - method, before Python 3.7 it returned an :class:`Future`. + method, before Python 3.7 it returned a :class:`Future`. Since Python 3.7, this is an ``async def`` method. .. coroutinemethod:: loop.sock_connect(sock, address) |