@@ -1144,7 +1144,7 @@ SSL Sockets
1144
1144
1145
1145
.. versionchanged :: 3.5
1146
1146
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
1148
1148
of the shutdown.
1149
1149
1150
1150
.. deprecated :: 3.6
@@ -1177,8 +1177,8 @@ SSL sockets also have the following additional methods and attributes:
1177
1177
cause write operations.
1178
1178
1179
1179
.. 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 *
1182
1182
bytes.
1183
1183
1184
1184
.. deprecated :: 3.6
@@ -1196,8 +1196,8 @@ SSL sockets also have the following additional methods and attributes:
1196
1196
also cause read operations.
1197
1197
1198
1198
.. 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 *.
1201
1201
1202
1202
.. deprecated :: 3.6
1203
1203
Use :meth: `~SSLSocket.send ` instead of :meth: `~SSLSocket.write `.
@@ -1224,14 +1224,14 @@ SSL sockets also have the following additional methods and attributes:
1224
1224
:attr: `~SSLSocket.context ` is true.
1225
1225
1226
1226
.. 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.
1229
1229
1230
1230
.. versionchanged :: 3.7
1231
1231
Hostname or IP address is matched by OpenSSL during handshake. The
1232
1232
function :func: `match_hostname ` is no longer used. In case OpenSSL
1233
1233
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.
1235
1235
1236
1236
.. method :: SSLSocket.getpeercert(binary_form=False)
1237
1237
0 commit comments