Skip to content

Commit 98d744c

Browse files
graingertjanbrasna
andauthored
Update Doc/library/ssl.rst
Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>
1 parent 1187dd0 commit 98d744c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/ssl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2742,7 +2742,7 @@ disabled by default.
27422742

27432743
>>> client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
27442744
>>> client_context.minimum_version = ssl.TLSVersion.TLSv1_2
2745-
>>> client_context.maximum_version = ssl.TLSVersion.MAXIMUM_VERSION
2745+
>>> client_context.maximum_version = ssl.TLSVersion.MAXIMUM_SUPPORTED
27462746

27472747

27482748
The SSL context created above will only allow TLSv1.3 and later (if

0 commit comments

Comments
 (0)