mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
HTTPPasswordMgrWithDefaultRealm inherits from HTTPPasswordMgr (#1082)
ee51327a23/Lib/urllib/request.py (L900)
This commit is contained in:
committed by
Jelle Zijlstra
parent
7e05d47b81
commit
abb7e49089
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user