]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
ssl docs: Fix typo (GH-32314)
authorFrederick <fmoor@users.noreply.github.com>
Thu, 7 Apr 2022 00:51:35 +0000 (17:51 -0700)
committerGitHub <noreply@github.com>
Thu, 7 Apr 2022 00:51:35 +0000 (17:51 -0700)
Doc/library/ssl.rst

index 8e5554ee4b84279f546f60557ac4c6f315a046a7..ce9b71f49c64dd990c9f0632b0f509b6b2f1386e 100644 (file)
@@ -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.