mirror of
https://github.com/python/cpython.git
synced 2026-07-07 18:50:03 -04:00
[3.15] Fix a typo in SSLSocket docs (GH-150839) (GH-150848)
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:
committed by
GitHub
parent
f8cea98b4e
commit
c69521fdec
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user