From 28dbd6cc6ad51a30b7b83058e4502ae904064a26 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 8 Apr 2016 11:59:34 -0700 Subject: [PATCH] change ='' to :str=... in httplib --- stdlib/2.7/httplib.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2.7/httplib.pyi b/stdlib/2.7/httplib.pyi index a8a87d813..c0d11789c 100644 --- a/stdlib/2.7/httplib.pyi +++ b/stdlib/2.7/httplib.pyi @@ -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): ...