From 6eb8b6a7039f23c6ee4cc334ab21298a22042ad4 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 3 Jun 2026 14:18:06 +0200 Subject: [PATCH] Fix a typo in `SSLSocket` docs (GH-150839) (cherry picked from commit 5553e003ca56ecc67340962b2d0f7ca561d64197) Co-authored-by: Robsdedude --- Doc/library/ssl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index ceac2919471fe30..92282bf624fe62f 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1098,7 +1098,7 @@ SSL sockets :meth:`SSLContext.wrap_socket` to wrap a socket. .. versionchanged:: 3.7 - :class:`SSLSocket` instances must to created with + :class:`SSLSocket` instances must be created with :meth:`~SSLContext.wrap_socket`. In earlier versions, it was possible to create instances directly. This was never documented or officially supported.