From fe0e33398ab414abc206620d5ead39c33cad9ee0 Mon Sep 17 00:00:00 2001 From: PrinceNaroliya Date: Tue, 19 Aug 2025 17:30:39 +0530 Subject: [PATCH] [docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH-137935) Fix grammar in ssl.SSLContect.sslsocket_class docstring --------- (cherry picked from commit 379161dd51c2cf67568e007fbb5fa225e73c9e10) Co-authored-by: PrinceNaroliya Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com> --- Doc/library/ssl.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index c0dcecf737ef76..9940e205836e1f 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1846,8 +1846,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