[3.12] gh-122706: fix docs for asyncio ssl sockets (GH-128092) (#128093)

gh-122706: fix docs for asyncio ssl sockets (GH-128092)
(cherry picked from commit 19c5134d57)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
Miss Islington (bot) 2024-12-19 13:55:54 +01:00 committed by GitHub
parent 6ffa564446
commit 34ea7bf56f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2369,8 +2369,8 @@ thus several things you need to be aware of:
.. seealso::
The :mod:`asyncio` module supports :ref:`non-blocking SSL sockets
<ssl-nonblocking>` and provides a
higher level API. It polls for events using the :mod:`selectors` module and
<ssl-nonblocking>` and provides a higher level :ref:`Streams API <asyncio-streams>`.
It polls for events using the :mod:`selectors` module and
handles :exc:`SSLWantWriteError`, :exc:`SSLWantReadError` and
:exc:`BlockingIOError` exceptions. It runs the SSL handshake asynchronously
as well.