https://github.com/python/cpython/commit/379161dd51c2cf67568e007fbb5fa225e73c9e10
commit: 379161dd51c2cf67568e007fbb5fa225e73c9e10
branch: main
author: PrinceNaroliya <[email protected]>
committer: gpshead <[email protected]>
date: 2025-08-19T12:00:39Z
summary:

[docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring 
(GH-137935)

Fix grammar in ssl.SSLContect.sslsocket_class docstring

---------

Co-authored-by: Gregory P. Smith <[email protected]>

files:
M Doc/library/ssl.rst

diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index ff6053cb7e94d9..18985d42349885 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -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
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to