Skip to content

Commit 936a3c4

Browse files
PrinceNaroliyagpshead
authored andcommitted
[docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH-137935)
Fix grammar in ssl.SSLContect.sslsocket_class docstring --------- (cherry picked from commit 379161d) Co-authored-by: PrinceNaroliya <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
1 parent 8ce1698 commit 936a3c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/ssl.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,8 +1840,9 @@ to speed up repeated connections from the same clients.
18401840
.. attribute:: SSLContext.sslsocket_class
18411841

18421842
The return type of :meth:`SSLContext.wrap_socket`, defaults to
1843-
:class:`SSLSocket`. The attribute can be overridden on instance of class
1844-
in order to return a custom subclass of :class:`SSLSocket`.
1843+
:class:`SSLSocket`. The attribute can be assigned to on instances of
1844+
:class:`SSLContext` in order to return a custom subclass of
1845+
:class:`SSLSocket`.
18451846

18461847
.. versionadded:: 3.7
18471848

0 commit comments

Comments
 (0)