add type hinting
PEP8 formatting
This commit is contained in:
@@ -563,8 +563,10 @@ class IniProxy():
|
||||
self.proxytype = proxytype
|
||||
|
||||
def proxies(self):
|
||||
''' 获得代理参数,默认http代理
|
||||
'''
|
||||
"""
|
||||
获得代理参数,默认http代理
|
||||
get proxy params, use http proxy for default
|
||||
"""
|
||||
if self.address:
|
||||
if self.proxytype in self.SUPPORT_PROXY_TYPE:
|
||||
proxies = {"http": self.proxytype + "://" + self.address,
|
||||
|
||||
Reference in New Issue
Block a user