]> granicus.if.org Git - python/commitdiff
Append HTTPSHandler to __all__ when it is available.
authorSenthil Kumaran <senthil@uthcode.com>
Tue, 1 Nov 2011 15:49:46 +0000 (23:49 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Tue, 1 Nov 2011 15:49:46 +0000 (23:49 +0800)
Lib/urllib/request.py

index 97fd5440a2e1747d782719c73b2607af25092849..d360966fc4c61ed54ecaae1a248b5421ae08fb9a 100644 (file)
@@ -1200,6 +1200,8 @@ if hasattr(http.client, 'HTTPSConnection'):
 
         https_request = AbstractHTTPHandler.do_request_
 
+    __all__.append(HTTPSHandler)
+
 class HTTPCookieProcessor(BaseHandler):
     def __init__(self, cookiejar=None):
         import http.cookiejar