[3.14] Fix a typo in SSLSocket docs (GH-150839) (GH-150846)

Fix a typo in `SSLSocket` docs (GH-150839)
(cherry picked from commit 5553e003ca)

Co-authored-by: Robsdedude <dev@rouvenbauer.de>
This commit is contained in:
Miss Islington (bot) 2026-06-03 14:26:17 +02:00 committed by GitHub
parent 6a02a8848f
commit e7a9369d27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.