]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] [docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935) (#137951)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 Aug 2025 12:22:42 +0000 (14:22 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Aug 2025 12:22:42 +0000 (14:22 +0200)
[docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935)

---------
(cherry picked from commit 379161dd51c2cf67568e007fbb5fa225e73c9e10)

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

index 4daacd7e3aa7fa84ea852760544639991dec006d..7bc2bccc1c121ed42eab9800530e2311aed9e2f9 100644 (file)
@@ -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