tweak files to fix pytype parsing errors (#1325)

* Don't use "\" to join lines
This commit is contained in:
Matthias Kramm
2017-05-26 08:45:52 -07:00
committed by Jelle Zijlstra
parent e8013fd808
commit ac0b809bf5
6 changed files with 9 additions and 21 deletions

View File

@@ -106,14 +106,12 @@ class ProxyHandler(BaseHandler):
class HTTPPasswordMgr:
def add_password(self, realm: str, uri: Union[str, Sequence[str]],
user: str, passwd: str) -> None: ...
def find_user_password(self, realm: str, authuri: str) \
-> Tuple[Optional[str], Optional[str]]: ...
def find_user_password(self, realm: str, authuri: str) -> Tuple[Optional[str], Optional[str]]: ...
class HTTPPasswordMgrWithDefaultRealm(HTTPPasswordMgr):
def add_password(self, realm: str, uri: Union[str, Sequence[str]],
user: str, passwd: str) -> None: ...
def find_user_password(self, realm: str, authuri: str) \
-> Tuple[Optional[str], Optional[str]]: ...
def find_user_password(self, realm: str, authuri: str) -> Tuple[Optional[str], Optional[str]]: ...
if sys.version_info >= (3, 5):
class HTTPPasswordMgrWithPriorAuth(HTTPPasswordMgrWithDefaultRealm):