@@ -1142,7 +1142,7 @@ SSL Sockets
1142
1142
1143
1143
.. versionchanged :: 3.5
1144
1144
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
1146
1146
of the shutdown.
1147
1147
1148
1148
.. deprecated :: 3.6
@@ -1175,8 +1175,8 @@ SSL sockets also have the following additional methods and attributes:
1175
1175
cause write operations.
1176
1176
1177
1177
.. 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 *
1180
1180
bytes.
1181
1181
1182
1182
.. deprecated :: 3.6
@@ -1194,8 +1194,8 @@ SSL sockets also have the following additional methods and attributes:
1194
1194
also cause read operations.
1195
1195
1196
1196
.. 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 *.
1199
1199
1200
1200
.. deprecated :: 3.6
1201
1201
Use :meth: `~SSLSocket.send ` instead of :meth: `~SSLSocket.write `.
@@ -1222,14 +1222,14 @@ SSL sockets also have the following additional methods and attributes:
1222
1222
:attr: `~SSLSocket.context ` is true.
1223
1223
1224
1224
.. 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.
1227
1227
1228
1228
.. versionchanged :: 3.7
1229
1229
Hostname or IP address is matched by OpenSSL during handshake. The
1230
1230
function :func: `match_hostname ` is no longer used. In case OpenSSL
1231
1231
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.
1233
1233
1234
1234
.. method :: SSLSocket.getpeercert(binary_form=False)
1235
1235
0 commit comments