[Python-checkins] [3.11] Fix minor typos in SSL documentation (GH-101158) (#101201)
ambv
webhook-mailer at python.org
Fri Jan 20 17:18:31 EST 2023
https://github.com/python/cpython/commit/1798df2b40e4f5aa91d0f67a1407e9153e258f22
commit: 1798df2b40e4f5aa91d0f67a1407e9153e258f22
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2023-01-20T23:18:25+01:00
summary:
[3.11] Fix minor typos in SSL documentation (GH-101158) (#101201)
(cherry picked from commit 73497690b5debe01ba94ffefbecee034e39e8627)
Co-authored-by: Simon Robinson <simon at robinson.ac>
files:
M Doc/library/ssl.rst
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index a0aa45e9008a..372b1243dd75 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1142,7 +1142,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
@@ -1175,8 +1175,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
@@ -1194,8 +1194,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`.
@@ -1222,14 +1222,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)
More information about the Python-checkins
mailing list