Skip to content

Commit 379161d

Browse files
[docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH-137935)
Fix grammar in ssl.SSLContect.sslsocket_class docstring --------- Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
1 parent 719e5c3 commit 379161d

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
@@ -1898,8 +1898,9 @@ to speed up repeated connections from the same clients.
18981898
.. attribute:: SSLContext.sslsocket_class
18991899

19001900
The return type of :meth:`SSLContext.wrap_socket`, defaults to
1901-
:class:`SSLSocket`. The attribute can be overridden on instance of class
1902-
in order to return a custom subclass of :class:`SSLSocket`.
1901+
:class:`SSLSocket`. The attribute can be assigned to on instances of
1902+
:class:`SSLContext` in order to return a custom subclass of
1903+
:class:`SSLSocket`.
19031904

19041905
.. versionadded:: 3.7
19051906

0 commit comments

Comments
 (0)