]> granicus.if.org Git - python/commit
bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)
authorBenjamin Peterson <benjamin@python.org>
Wed, 21 Feb 2018 05:55:01 +0000 (21:55 -0800)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2018 05:55:01 +0000 (21:55 -0800)
commite9edee0b65650c4f9db90cefc2e9a8125bad762c
tree8392bcbd58b6d8981fc33baf82f1d2f47104c92c
parent52c6b89796a7ec391db20281e05b256f57e97b35
bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)

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.
Doc/library/ssl.rst