change ='' to :str=... in httplib

This commit is contained in:
Matthias Kramm
2016-04-08 11:59:34 -07:00
parent 68400b74ab
commit 28dbd6cc6a

View File

@@ -62,7 +62,7 @@ class HTTPConnection:
class HTTP:
debuglevel = ... # type: Any
def __init__(self, host='', port=None, strict=None) -> None: ...
def __init__(self, host:str=..., port=None, strict=None) -> None: ...
def connect(self, host=None, port=None): ...
def getfile(self): ...
file = ... # type: Any
@@ -81,7 +81,7 @@ class HTTPSConnection(HTTPConnection):
class HTTPS(HTTP):
key_file = ... # type: Any
cert_file = ... # type: Any
def __init__(self, host='', port=None, key_file=None, cert_file=None, strict=None, context=None) -> None: ...
def __init__(self, host:str=..., port=None, key_file=None, cert_file=None, strict=None, context=None) -> None: ...
class HTTPException(Exception): ...
class NotConnected(HTTPException): ...