From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 22 Jul 2023 14:29:54 +0000 (-0700) Subject: [3.11] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107038) X-Git-Tag: v3.11.5~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=755166e864e7ff451c2a30b7cdc3a68cd4e9ec3d;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107038) Co-authored-by: Jocelyn Castellano --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index a0936747db5a..fe896be2faeb 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -2688,7 +2688,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.