Skip to content

Commit 452bdec

Browse files
committed
gh-136306: Add back indentation of example
Looks like the indentation is required. Got a doc build error without it.
1 parent 187ff2e commit 452bdec

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/library/ssl.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,11 +1647,11 @@ to speed up repeated connections from the same clients.
16471647
the SSLContext's current TLS ``minimum_version`` and ``maximum_version``
16481648
values. For example::
16491649

1650-
>>> ctx = ssl.create_default_context()
1651-
>>> ctx.minimum_version=ssl.TLSVersion.TLSv1_3
1652-
>>> ctx.maximum_version=ssl.TLSVersion.TLSv1_3
1653-
>>> ctx.get_groups()
1654-
['secp256r1', 'secp384r1', 'secp521r1', 'x25519', 'x448', 'brainpoolP256r1tls13', 'brainpoolP384r1tls13', 'brainpoolP512r1tls13', 'ffdhe2048', 'ffdhe3072', 'ffdhe4096', 'ffdhe6144', 'ffdhe8192', 'MLKEM512', 'MLKEM768', 'MLKEM1024', 'SecP256r1MLKEM768', 'X25519MLKEM768', 'SecP384r1MLKEM1024']
1650+
>>> ctx = ssl.create_default_context()
1651+
>>> ctx.minimum_version=ssl.TLSVersion.TLSv1_3
1652+
>>> ctx.maximum_version=ssl.TLSVersion.TLSv1_3
1653+
>>> ctx.get_groups()
1654+
['secp256r1', 'secp384r1', 'secp521r1', 'x25519', 'x448', 'brainpoolP256r1tls13', 'brainpoolP384r1tls13', 'brainpoolP512r1tls13', 'ffdhe2048', 'ffdhe3072', 'ffdhe4096', 'ffdhe6144', 'ffdhe8192', 'MLKEM512', 'MLKEM768', 'MLKEM1024', 'SecP256r1MLKEM768', 'X25519MLKEM768', 'SecP384r1MLKEM1024']
16551655

16561656
.. versionadded:: next
16571657

0 commit comments

Comments
 (0)