mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
HTTPPasswordMgrWithDefaultRealm inherits from HTTPPasswordMgr (#1082)
https://github.com/python/cpython/blob/ee51327a2329eb9c2bfbb6ea673cfab4299450b0/Lib/urllib/request.py#L900
This commit is contained in:
1 parent
7e05d47b81
commit
abb7e49089
1 file changed
+1
-1
@@ -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