From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 19 Aug 2025 12:22:42 +0000 (+0200) Subject: [3.13] [docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935) (#137951) X-Git-Tag: v3.13.8~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aabea7a0eec5262714586ae8a116472edea2d90;p=thirdparty%2FPython%2Fcpython.git [3.13] [docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935) (#137951) [docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935) --------- (cherry picked from commit 379161dd51c2cf67568e007fbb5fa225e73c9e10) Co-authored-by: PrinceNaroliya Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com> --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 4daacd7e3aa7..7bc2bccc1c12 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1840,8 +1840,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