]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH-137935)
authorPrinceNaroliya <naroliyaprince@gmail.com>
Tue, 19 Aug 2025 12:00:39 +0000 (17:30 +0530)
committerGitHub <noreply@github.com>
Tue, 19 Aug 2025 12:00:39 +0000 (12:00 +0000)
Fix grammar in ssl.SSLContect.sslsocket_class docstring

---------

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Doc/library/ssl.rst

index ff6053cb7e94d91771ec15229f1fac1dbd8ce21b..18985d423498855ea7ca088dfe1907f937f1f0a7 100644 (file)
@@ -1898,8 +1898,9 @@ to speed up repeated connections from the same clients.
 .. attribute:: SSLContext.sslsocket_class
 
    The return type of :meth:`SSLContext.wrap_socket`, defaults to
-   :class:`SSLSocket`. The attribute can be overridden on instance of class
-   in order to return a custom subclass of :class:`SSLSocket`.
+   :class:`SSLSocket`. The attribute can be assigned to on instances of
+   :class:`SSLContext` in order to return a custom subclass of
+   :class:`SSLSocket`.
 
    .. versionadded:: 3.7