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

Skip to content

Commit 4c875a9

Browse files
committed
'HTTPSHandler' and not the type.
1 parent 0d54eb9 commit 4c875a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/urllib/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ def https_open(self, req):
12001200

12011201
https_request = AbstractHTTPHandler.do_request_
12021202

1203-
__all__.append(HTTPSHandler)
1203+
__all__.append('HTTPSHandler')
12041204

12051205
class HTTPCookieProcessor(BaseHandler):
12061206
def __init__(self, cookiejar=None):

0 commit comments

Comments
 (0)