From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:55:54 +0000 (+0100) Subject: [3.12] gh-122706: fix docs for asyncio ssl sockets (GH-128092) (#128093) X-Git-Tag: v3.12.9~143 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34ea7bf56f468bbfa0941ad2eff71b2cf871438c;p=thirdparty%2FPython%2Fcpython.git [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 19c5134d57764d3db7b1cacec4f090c74849a5c1) Co-authored-by: Kumar Aditya --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index f78ab7b1fdf0..a154b4df7fed 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -2369,8 +2369,8 @@ thus several things you need to be aware of: .. seealso:: The :mod:`asyncio` module supports :ref:`non-blocking SSL sockets - ` and provides a - higher level API. It polls for events using the :mod:`selectors` module and + ` and provides a higher level :ref:`Streams API `. + 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.