From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 22 Jul 2023 14:30:28 +0000 (-0700) Subject: [3.12] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107040) X-Git-Tag: v3.12.0rc1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8a0296901f0266fad269306b56c66f3a9d5479d;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107040) Co-authored-by: Jocelyn Castellano --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 7f0955263276..1f8bbe1e3de3 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -2592,7 +2592,7 @@ disabled by default. >>> client_context.maximum_version = ssl.TLSVersion.TLSv1_3 -The SSL context created above will only allow TLSv1.2 and later (if +The SSL context created above will only allow TLSv1.3 and later (if supported by your system) connections to a server. :const:`PROTOCOL_TLS_CLIENT` implies certificate validation and hostname checks by default. You have to load certificates into the context.