]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] [docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Sep 2025 09:18:43 +0000 (11:18 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Sep 2025 09:18:43 +0000 (12:18 +0300)
Co-authored-by: PrinceNaroliya <naroliyaprince@gmail.com>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Doc/library/ssl.rst

index c0dcecf737ef7650df2ef8bd4285c24a1805b4e6..9940e205836e1f0693fe98e04bf84103f2c0c0dc 100644 (file)
@@ -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