Skip to content

Commit 187b7cb

Browse files
committed
Updating comment to reflect changes in the previous commit
1 parent 120277d commit 187b7cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cassandra/cluster.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,9 +826,7 @@ def default_retry_policy(self, policy):
826826
827827
In addition to ``wrap_socket`` kwargs, clients may also specify ``'check_hostname': True`` to verify the cert hostname
828828
as outlined in RFC 2818 and RFC 6125. Note that this requires the certificate to be transferred, so
829-
should almost always require the option ``'cert_reqs': ssl.CERT_REQUIRED``. Note also that this functionality was not built into
830-
Python standard library until (2.7.9, 3.2). To enable this mechanism in earlier versions, patch ``ssl.match_hostname``
831-
with a custom or `back-ported function <https://pypi.org/project/backports.ssl_match_hostname/>`_.
829+
should almost always require the option ``'cert_reqs': ssl.CERT_REQUIRED``.
832830
"""
833831

834832
ssl_context = None

0 commit comments

Comments
 (0)