@@ -1054,7 +1054,7 @@ SSL Sockets
1054
1054
1055
1055
.. versionchanged :: 3.5
1056
1056
The :meth: `shutdown ` does not reset the socket timeout each time bytes
1057
- are received or sent. The socket timeout is now to maximum total duration
1057
+ are received or sent. The socket timeout is now the maximum total duration
1058
1058
of the shutdown.
1059
1059
1060
1060
.. deprecated :: 3.6
@@ -1087,8 +1087,8 @@ SSL sockets also have the following additional methods and attributes:
1087
1087
cause write operations.
1088
1088
1089
1089
.. versionchanged :: 3.5
1090
- The socket timeout is no more reset each time bytes are received or sent.
1091
- The socket timeout is now to maximum total duration to read up to *len *
1090
+ The socket timeout is no longer reset each time bytes are received or sent.
1091
+ The socket timeout is now the maximum total duration to read up to *len *
1092
1092
bytes.
1093
1093
1094
1094
.. deprecated :: 3.6
@@ -1106,8 +1106,8 @@ SSL sockets also have the following additional methods and attributes:
1106
1106
also cause read operations.
1107
1107
1108
1108
.. versionchanged :: 3.5
1109
- The socket timeout is no more reset each time bytes are received or sent.
1110
- The socket timeout is now to maximum total duration to write *buf *.
1109
+ The socket timeout is no longer reset each time bytes are received or sent.
1110
+ The socket timeout is now the maximum total duration to write *buf *.
1111
1111
1112
1112
.. deprecated :: 3.6
1113
1113
Use :meth: `~SSLSocket.send ` instead of :meth: `~SSLSocket.write `.
@@ -1134,14 +1134,14 @@ SSL sockets also have the following additional methods and attributes:
1134
1134
:attr: `~SSLSocket.context ` is true.
1135
1135
1136
1136
.. versionchanged :: 3.5
1137
- The socket timeout is no more reset each time bytes are received or sent.
1138
- The socket timeout is now to maximum total duration of the handshake.
1137
+ The socket timeout is no longer reset each time bytes are received or sent.
1138
+ The socket timeout is now the maximum total duration of the handshake.
1139
1139
1140
1140
.. versionchanged :: 3.7
1141
1141
Hostname or IP address is matched by OpenSSL during handshake. The
1142
1142
function :func: `match_hostname ` is no longer used. In case OpenSSL
1143
1143
refuses a hostname or IP address, the handshake is aborted early and
5357
1144
- a TLS alert message is send to the peer.
1144
+ a TLS alert message is sent to the peer.
1145
1145
1146
1146
.. method :: SSLSocket.getpeercert(binary_form=False)
1147
1147
0 commit comments