diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 761383bf0f7345..601b2b44320324 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.