From 34ea7bf56f468bbfa0941ad2eff71b2cf871438c Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:55:54 +0100 Subject: [PATCH] [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 --- 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 f78ab7b1fdf..a154b4df7fe 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.