summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/ssl.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index fa81c3f..ce8f3dd 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1790,6 +1790,9 @@ to speed up repeated connections from the same clients.
*session*, see :attr:`~SSLSocket.session`.
+ To wrap an :class:`SSLSocket` in another :class:`SSLSocket`, use
+ :meth:`SSLContext.wrap_bio`.
+
.. versionchanged:: 3.5
Always allow a server_hostname to be passed, even if OpenSSL does not
have SNI.