8000 [3.10] Fix minor typos in SSL documentation (GH-101158) (#101202) · python/cpython@8fd481e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8fd481e

Browse files
[3.10] Fix minor typos in SSL documentation (GH-101158) (#101202)
(cherry picked from commit 7349769) Co-authored-by: Simon Robinson <simon@robinson.ac>
1 parent 23bb5f3 commit 8fd481e

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
@@ -1144,7 +1144,7 @@ SSL Sockets
11441144

11451145
.. versionchanged:: 3.5
11461146
The :meth:`shutdown` does not reset the socket timeout each time bytes
1147-
are received or sent. The socket timeout is now to maximum total duration
1147+
are received or sent. The socket timeout is now the maximum total duration
11481148
of the shutdown.
11491149

11501150
.. deprecated:: 3.6
@@ -1177,8 +1177,8 @@ SSL sockets also have the following additional methods and attributes:
11771177
cause write operations.
11781178

11791179
.. versionchanged:: 3.5
1180-
The socket timeout is no more reset each time bytes are received or sent.
1181-
The socket timeout is now to maximum total duration to read up to *len*
1180+
The socket timeout is no longer reset each time bytes are received or sent.
1181+
The socket timeout is now the maximum total duration to read up to *len*
11821182
bytes.
11831183

11841184
.. deprecated:: 3.6
@@ -1196,8 +1196,8 @@ SSL sockets also have the following additional methods and attributes:
11961196
also cause read operations.
11971197

11981198
.. versionchanged:: 3.5
1199-
The socket timeout is no more reset each time bytes are received or sent.
1200-
The socket timeout is now to maximum total duration to write *buf*.
1199+
The socket timeout is no longer reset each time bytes are received or sent.
1200+
The socket timeout is now the maximum total duration to write *buf*.
12011201

12021202
.. deprecated:: 3.6
12031203
Use :meth:`~SSLSocket.send` instead of :meth:`~SSLSocket.write`.
@@ -1224,14 +1224,14 @@ SSL sockets also have the following additional methods and attributes:
12241224
:attr:`~SSLSocket.context` is true.
12251225

12261226
.. versionchanged:: 3.5
1227-
The socket timeout is no more reset each time bytes are received or sent.
1228-
The socket timeout is now to maximum total duration of the handshake.
1227+
The socket timeout is no longer reset each time bytes are received or sent.
1228+
The socket timeout is now the maximum total duration of the handshake.
12291229

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

12361236
.. method:: SSLSocket.getpeercert(binary_form=False)
12371237

0 commit comments

Comments
 (0)
0