8000 Fix minor typos in SSL documentation (#101158) · python/cpython@7349769 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7349769

Browse files
authored
Fix minor typos in SSL documentation (#101158)
1 parent 783d1bc commit 7349769

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
@@ -1054,7 +1054,7 @@ SSL Sockets
10541054

10551055
.. versionchanged:: 3.5
10561056
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
10581058
of the shutdown.
10591059

10601060
.. deprecated:: 3.6
@@ -1087,8 +1087,8 @@ SSL sockets also have the following additional methods and attributes:
10871087
cause write operations.
10881088

10891089
.. 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*
10921092
bytes.
10931093

10941094
.. deprecated:: 3.6
@@ -1106,8 +1106,8 @@ SSL sockets also have the following additional methods and attributes:
11061106
also cause read operations.
11071107

11081108
.. 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*.
11111111

11121112
.. deprecated:: 3.6
11131113
Use :meth:`~SSLSocket.send` instead of :meth:`~SSLSocket.write`.
@@ -1134,14 +1134,14 @@ SSL sockets also have the following additional methods and attributes:
11341134
:attr:`~SSLSocket.context` is true.
11351135

11361136
.. 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.
11391139

11401140
.. versionchanged:: 3.7
11411141
Hostname or IP address is matched by OpenSSL during handshake. The
11421142
function :func:`match_hostname` is no longer used. In case OpenSSL
11431143
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.
11451145

11461146
.. method:: SSLSocket.getpeercert(binary_form=False)
11471147

0 commit comments

Comments
 (0)
0