diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-03-02 17:37:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-02 17:37:50 (GMT) |
commit | 65bd0bdf3d285e3917d66c600c95cb0842e3b3be (patch) | |
tree | e143e62457e5357c8579a5092db93657c45ad34c | |
parent | 784ba7c8ad53638c94270011d55d2536ff0cd2dd (diff) | |
download | cpython-65bd0bdf3d285e3917d66c600c95cb0842e3b3be.zip cpython-65bd0bdf3d285e3917d66c600c95cb0842e3b3be.tar.gz cpython-65bd0bdf3d285e3917d66c600c95cb0842e3b3be.tar.bz2 |
In SSL module version examples, don't use a legacy version. (#381) (#400)
-rw-r--r-- | Doc/library/ssl.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 7b76b2a..bbb1374 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -846,7 +846,7 @@ Constants The version string of the OpenSSL library loaded by the interpreter:: >>> ssl.OPENSSL_VERSION - 'OpenSSL 0.9.8k 25 Mar 2009' + 'OpenSSL 1.0.2k 26 Jan 2017' .. versionadded:: 3.2 @@ -856,7 +856,7 @@ Constants OpenSSL library:: >>> ssl.OPENSSL_VERSION_INFO - (0, 9, 8, 11, 15) + (1, 0, 2, 11, 15) .. versionadded:: 3.2 @@ -865,9 +865,9 @@ Constants The raw version number of the OpenSSL library, as a single integer:: >>> ssl.OPENSSL_VERSION_NUMBER - 9470143 + 268443839 >>> hex(ssl.OPENSSL_VERSION_NUMBER) - '0x9080bf' + '0x100020bf' .. versionadded:: 3.2 |