summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-04-07 01:16:53 (GMT)
committerGitHub <noreply@github.com>2022-04-07 01:16:53 (GMT)
commit30dfc46be43c2e6311699a18718cc97d784ed1a8 (patch)
tree1102546e2307fbb731836dc22cc15ebb0fe55242
parentd6a7ee69fb3263450ba47bed9104f4a68a08a9bd (diff)
downloadcpython-30dfc46be43c2e6311699a18718cc97d784ed1a8.zip
cpython-30dfc46be43c2e6311699a18718cc97d784ed1a8.tar.gz
cpython-30dfc46be43c2e6311699a18718cc97d784ed1a8.tar.bz2
ssl docs: Fix typo (GH-32314)
(cherry picked from commit 1da9c38fd352465fd3d1a00e64dc90444b421730) Co-authored-by: Frederick <fmoor@users.noreply.github.com>
-rw-r--r--Doc/library/ssl.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index c3acf61..0256e04 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.