summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.