]> granicus.if.org Git - python/commit
[2.7] closes bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789) (#5792)
authorBenjamin Peterson <benjamin@python.org>
Wed, 21 Feb 2018 06:17:10 +0000 (22:17 -0800)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2018 06:17:10 +0000 (22:17 -0800)
commit6c7edba1665ea676328c6b50f92e8423c8f0d164
treec71f49b2ed90b5d91201d8efc8c60df1a2dd7a09
parent5dc275a2c00839cce4cd717f64fc9456e05d5af3
[2.7] closes bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789) (#5792)

It's bad form to pin to an old version of TLS. ssl.SSLContext has the right
protocol default, so let's not pass anyway..
(cherry picked from commit e9edee0b65650c4f9db90cefc2e9a8125bad762c)
Doc/library/ssl.rst