[Python-checkins] ssl docs: Fix typo (GH-32314)

miss-islington webhook-mailer at python.org
Wed Apr 6 21:17:10 EDT 2022


https://github.com/python/cpython/commit/30dfc46be43c2e6311699a18718cc97d784ed1a8
commit: 30dfc46be43c2e6311699a18718cc97d784ed1a8
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-04-06T18:16:53-07:00
summary:

ssl docs: Fix typo (GH-32314)

(cherry picked from commit 1da9c38fd352465fd3d1a00e64dc90444b421730)

Co-authored-by: Frederick <fmoor at users.noreply.github.com>

files:
M Doc/library/ssl.rst

diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index c3acf61d2b527..0256e04a28c9e 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1357,7 +1357,7 @@ SSL sockets also have the following additional methods and attributes:
 .. method:: SSLSocket.version()
 
    Return the actual SSL protocol version negotiated by the connection
-   as a string, or ``None`` is no secure connection is established.
+   as a string, or ``None`` if no secure connection is established.
    As of this writing, possible return values include ``"SSLv2"``,
    ``"SSLv3"``, ``"TLSv1"``, ``"TLSv1.1"`` and ``"TLSv1.2"``.
    Recent OpenSSL versions may define more return values.



More information about the Python-checkins mailing list