[Python-checkins] ssl docs: Fix typo (GH-32314)
JelleZijlstra
webhook-mailer at python.org
Wed Apr 6 20:51:39 EDT 2022
https://github.com/python/cpython/commit/1da9c38fd352465fd3d1a00e64dc90444b421730
commit: 1da9c38fd352465fd3d1a00e64dc90444b421730
branch: main
author: Frederick <fmoor at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-04-06T17:51:35-07:00
summary:
ssl docs: Fix typo (GH-32314)
files:
M Doc/library/ssl.rst
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 8e5554ee4b842..ce9b71f49c64d 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1397,7 +1397,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