Skip to content

Commit b516200

Browse files
committed
gh-136306: Minor doc updates
1 parent 304c223 commit b516200

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/ssl.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,14 +1650,14 @@ to speed up repeated connections from the same clients.
16501650

16511651
.. method:: SSLContext.get_groups(*, include_aliases=False)
16521652

1653-
Get a list of groups implemented for key agreement, taking into account
1654-
the SSLContext's current TLS ``minimum_version`` and ``maximum_version``
1655-
values. For example::
1653+
Get a list of groups implemented for key agreement, taking into
1654+
account the current TLS :attr:`~SSLContext.minimum_version` and
1655+
:attr:`~SSLContext.maximum_version` values. For example::
16561656

16571657
>>> ctx = ssl.create_default_context()
16581658
>>> ctx.minimum_version = ssl.TLSVersion.TLSv1_3
16591659
>>> ctx.maximum_version = ssl.TLSVersion.TLSv1_3
1660-
>>> ctx.get_groups() # doctest: +SKIP
1660+
>>> ctx.get_groups() # doctest: +SKIP
16611661
['secp256r1', 'secp384r1', 'secp521r1', 'x25519', 'x448', ...]
16621662

16631663
By default, this method returns only the preferred IANA names for the

0 commit comments

Comments
 (0)