HTTPPasswordMgrWithDefaultRealm inherits from HTTPPasswordMgr (#1082)

https://github.com/python/cpython/blob/ee51327a2329eb9c2bfbb6ea673cfab4299450b0/Lib/urllib/request.py#L900
This commit is contained in:
Nathan Henrie
2017-03-23 11:48:22 -06:00
committed by Jelle Zijlstra
parent 7e05d47b81
commit abb7e49089
+1 -1
View File
@@ -109,7 +109,7 @@ class HTTPPasswordMgr:
def find_user_password(self, realm: str, authuri: str) \
-> Tuple[Optional[str], Optional[str]]: ...
class HTTPPasswordMgrWithDefaultRealm:
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) \