From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 3 Jun 2026 12:26:03 +0000 (+0200) Subject: [3.13] Fix a typo in `SSLSocket` docs (GH-150839) (GH-150847) X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d229764d1e34decc83ac599e7b3aceb249a8b4a2;p=thirdparty%2FPython%2Fcpython.git [3.13] Fix a typo in `SSLSocket` docs (GH-150839) (GH-150847) Fix a typo in `SSLSocket` docs (GH-150839) (cherry picked from commit 5553e003ca56ecc67340962b2d0f7ca561d64197) Co-authored-by: Robsdedude --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 761383bf0f73..601b2b443203 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1091,7 +1091,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.