]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Fix a typo in `SSLSocket` docs (GH-150839) (GH-150848)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Jun 2026 12:27:56 +0000 (14:27 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2026 12:27:56 +0000 (12:27 +0000)
Fix a typo in `SSLSocket` docs (GH-150839)
(cherry picked from commit 5553e003ca56ecc67340962b2d0f7ca561d64197)

Co-authored-by: Robsdedude <dev@rouvenbauer.de>
Doc/library/ssl.rst

index c0f3757e583e95df9dba7c2fafa4ea87275ecd35..41a101e84ac4d758f13001399a8fb2d248241794 100644 (file)
@@ -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.