From 5553e003ca56ecc67340962b2d0f7ca561d64197 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) --- 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 c0f3757e583e..41a101e84ac4 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1121,7 +1121,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. -- 2.47.3