Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d54eb9

Browse files
committed
Append HTTPSHandler to __all__ when it is available.
1 parent 6c5bd40 commit 0d54eb9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/urllib/request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,8 @@ def https_open(self, req):
12001200

12011201
https_request = AbstractHTTPHandler.do_request_
12021202

1203+
__all__.append(HTTPSHandler)
1204+
12031205
class HTTPCookieProcessor(BaseHandler):
12041206
def __init__(self, cookiejar=None):
12051207
import http.cookiejar

0 commit comments

Comments
 (0)