From: Kumar Aditya Date: Thu, 19 Dec 2024 12:45:36 +0000 (+0530) Subject: gh-122706: fix docs for asyncio ssl sockets (#128092) X-Git-Tag: v3.14.0a4~240 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19c5134d57764d3db7b1cacec4f090c74849a5c1;p=thirdparty%2FPython%2Fcpython.git gh-122706: fix docs for asyncio ssl sockets (#128092) --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index b7fb1fc07d19..f07d151a8856 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -2508,8 +2508,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.