From: Menno Smits Date: Tue, 14 Jul 2015 04:32:29 +0000 (+1200) Subject: Docstring update given backports.ssl change X-Git-Tag: 1.0.0~1^2~57^2~9 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e3cac4fae07bd869878224ebf607fccb3a34c845;p=imapclient.git Docstring update given backports.ssl change --- 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