[Python-checkins] cpython (2.7): Issue #13747: fix documentation error about the default SSL version.

antoine.pitrou python-checkins at python.org
Mon Jan 9 21:44:56 CET 2012


http://hg.python.org/cpython/rev/3db0abf3058b
changeset:   74310:3db0abf3058b
branch:      2.7
parent:      74294:56e9d025078d
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Mon Jan 09 21:35:11 2012 +0100
summary:
  Issue #13747: fix documentation error about the default SSL version.

files:
  Doc/library/ssl.rst |  5 ++---
  1 files changed, 2 insertions(+), 3 deletions(-)


diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -103,9 +103,8 @@
    The parameter ``ssl_version`` specifies which version of the SSL protocol to
    use.  Typically, the server chooses a particular protocol version, and the
    client must adapt to the server's choice.  Most of the versions are not
-   interoperable with the other versions.  If not specified, for client-side
-   operation, the default SSL version is SSLv3; for server-side operation,
-   SSLv23.  These version selections provide the most compatibility with other
+   interoperable with the other versions.  If not specified, the default is
+   :data:`PROTOCOL_SSLv23`; it provides the most compatibility with other
    versions.
 
    Here's a table showing which versions in a client (down the side) can connect

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list