]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
ssl docs: Fix typo (GH-32314)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Apr 2022 01:16:53 +0000 (18:16 -0700)
committerGitHub <noreply@github.com>
Thu, 7 Apr 2022 01:16:53 +0000 (18:16 -0700)
(cherry picked from commit 1da9c38fd352465fd3d1a00e64dc90444b421730)

Co-authored-by: Frederick <fmoor@users.noreply.github.com>
Doc/library/ssl.rst

index c3acf61d2b527a9a69f329a3b879374a8a9bcd56..0256e04a28c9eb017192d49e7d13c7bcc25b4221 100644 (file)
@@ -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.