Skip to content

Commit

Permalink
Document actual default value for resolve_cert_reqs() (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinetd authored and sethmlarson committed Dec 3, 2019
1 parent 417bb1a commit 93e5c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urllib3/util/ssl_.py
Expand Up @@ -182,7 +182,7 @@ def resolve_cert_reqs(candidate):
"""
Resolves the argument to a numeric constant, which can be passed to
the wrap_socket function/method from the ssl module.
Defaults to :data:`ssl.CERT_NONE`.
Defaults to :data:`ssl.CERT_REQUIRED`.
If given a string it is assumed to be the name of the constant in the
:mod:`ssl` module or its abbreviation.
(So you can specify `REQUIRED` instead of `CERT_REQUIRED`.
Expand Down

0 comments on commit 93e5c6a

Please sign in to comment.