diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-20 22:17:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 22:17:58 (GMT) |
commit | 8fd481e62e4ee1487cbbd003b3bc9104bf39e0ce (patch) | |
tree | 89ea9e460c7268e409e37c78955bc2c542b547a4 | |
parent | 23bb5f35f57b9bd2b31830c77e196422c4ae09cb (diff) | |
download | cpython-8fd481e62e4ee1487cbbd003b3bc9104bf39e0ce.zip cpython-8fd481e62e4ee1487cbbd003b3bc9104bf39e0ce.tar.gz cpython-8fd481e62e4ee1487cbbd003b3bc9104bf39e0ce.tar.bz2 |
[3.10] Fix minor typos in SSL documentation (GH-101158) (#101202)
(cherry picked from commit 73497690b5debe01ba94ffefbecee034e39e8627)
Co-authored-by: Simon Robinson <simon@robinson.ac>
-rw-r--r-- | Doc/library/ssl.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index a227df7..de9edcb 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1144,7 +1144,7 @@ SSL Sockets .. versionchanged:: 3.5 The :meth:`shutdown` does not reset the socket timeout each time bytes - are received or sent. The socket timeout is now to maximum total duration + are received or sent. The socket timeout is now the maximum total duration of the shutdown. .. deprecated:: 3.6 @@ -1177,8 +1177,8 @@ SSL sockets also have the following additional methods and attributes: cause write operations. .. versionchanged:: 3.5 - The socket timeout is no more reset each time bytes are received or sent. - The socket timeout is now to maximum total duration to read up to *len* + The socket timeout is no longer reset each time bytes are received or sent. + The socket timeout is now the maximum total duration to read up to *len* bytes. .. deprecated:: 3.6 @@ -1196,8 +1196,8 @@ SSL sockets also have the following additional methods and attributes: also cause read operations. .. versionchanged:: 3.5 - The socket timeout is no more reset each time bytes are received or sent. - The socket timeout is now to maximum total duration to write *buf*. + The socket timeout is no longer reset each time bytes are received or sent. + The socket timeout is now the maximum total duration to write *buf*. .. deprecated:: 3.6 Use :meth:`~SSLSocket.send` instead of :meth:`~SSLSocket.write`. @@ -1224,14 +1224,14 @@ SSL sockets also have the following additional methods and attributes: :attr:`~SSLSocket.context` is true. .. versionchanged:: 3.5 - The socket timeout is no more reset each time bytes are received or sent. - The socket timeout is now to maximum total duration of the handshake. + The socket timeout is no longer reset each time bytes are received or sent. + The socket timeout is now the maximum total duration of the handshake. .. versionchanged:: 3.7 Hostname or IP address is matched by OpenSSL during handshake. The function :func:`match_hostname` is no longer used. In case OpenSSL refuses a hostname or IP address, the handshake is aborted early and - a TLS alert message is send to the peer. + a TLS alert message is sent to the peer. .. method:: SSLSocket.getpeercert(binary_form=False) |