From 0f8b2b5316a65315437c67e6cee58647e604cece Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Thu, 19 Dec 2024 18:15:36 +0530 Subject: [PATCH] gh-122706: fix docs for asyncio ssl sockets (GH-128092) (cherry picked from commit 19c5134d57764d3db7b1cacec4f090c74849a5c1) Co-authored-by: Kumar Aditya --- Doc/library/ssl.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index f78ab7b1fdf0a1..a154b4df7fedab 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.