8000 Fix minor typos in SSL documentation (GH-101158) · miss-islington/cpython@abc3dca · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit abc3dca

Browse files
simonrobmiss-islington
authored andcommitted
Fix minor typos in SSL documentation (pythonGH-101158)
(cherry picked from commit 7349769) Co-authored-by: Simon Robinson <simon@robinson.ac>
1 parent e039d53 commit abc3dca

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Doc/library/ssl.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ SSL Sockets
11421142

11431143
.. versionchanged:: 3.5
11441144
The :meth:`shutdown` does not reset the socket timeout each time bytes
1145-
are received or sent. The socket timeout is now to maximum total duration
1145+
are received or sent. The socket timeout is now the maximum total duration
11461146
of the shutdown.
11471147

11481148
.. deprecated:: 3.6
@@ -1175,8 +1175,8 @@ SSL sockets also have the following additional methods and attributes:
11751175
cause write operations.
11761176

11771177
.. versionchanged:: 3.5
1178-
The socket timeout is no more reset each time bytes are received or sent.
1179-
The socket timeout is now to maximum total duration to read up to *len*
1178+
The socket timeout is no longer reset each time bytes are received or sent.
1179+
The socket timeout is now the maximum total duration to read up to *len*
11801180
bytes.
11811181

11821182
.. deprecated:: 3.6
@@ -1194,8 +1194,8 @@ SSL sockets also have the following additional methods and attributes:
11941194
also cause read operations.
11951195

11961196
.. versionchanged:: 3.5
1197-
The socket timeout is no more reset each time bytes are received or sent.
1198-
The socket timeout is now to maximum total duration to write *buf*.
1197+
The socket timeout is no longer reset each time bytes are received or sent.
1198+
The socket timeout is now the maximum total duration to write *buf*.
11991199

12001200
.. deprecated:: 3.6
12011201
Use :meth:`~SSLSocket.send` instead of :meth:`~SSLSocket.write`.
@@ -1222,14 +1222,14 @@ SSL sockets also have the following additional methods and attributes:
12221222
:attr:`~SSLSocket.context` is true.
12231223

12241224
.. versionchanged:: 3.5
1225-
The socket timeout is no more reset each time bytes are received or sent.
1226-
The socket timeout is now to maximum total duration of the handshake.
1225+
The socket timeout is no longer reset each time bytes are received or sent.
1226+
The socket timeout is now the maximum total duration of the handshake.
12271227

12281228
.. versionchanged:: 3.7
12291229
Hostname or IP address is matched by OpenSSL during handshake. The
12301230
function :func:`match_hostname` is no longer used. In case OpenSSL
12311231
refuses a hostname or IP address, the handshake is aborted early and
1232-
a TLS alert message is send to the peer.
1232+
a TLS alert message is sent to the peer.
12331233

12341234
.. method:: SSLSocket.getpeercert(binary_form=False)
12351235

0 commit comments

Comments
 (0)
0