From e3cac4fae07bd869878224ebf607fccb3a34c845 Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Tue, 14 Jul 2015 16:32:29 +1200 Subject: [PATCH] Docstring update given backports.ssl change --- imapclient/imapclient.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/imapclient/imapclient.py b/imapclient/imapclient.py index 3367d28..8c54521 100644 --- a/imapclient/imapclient.py +++ b/imapclient/imapclient.py @@ -163,8 +163,9 @@ class IMAPClient(object): """Switch to an SSL encrypted connection by sending a STARTTLS command. The *ssl_context* argument is optional and should be a - :py:class:`OpenSSL.SSL.Context` object. If no SSL context is given, a - default SSL context with reasonably secure settings will be created. + :py:class:`backports.ssl.SSLContext` object. If no SSL context + is given, a default SSL context with reasonable default + settings will be created. You can enable checking of the hostname in the certificate presented by the server against the hostname which was used for connecting, by -- 2.43.0