diff options
author | Stephen Morton <git@tungol.org> | 2024-12-08 18:46:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-08 18:46:34 (GMT) |
commit | a03efb533a58fd13fb0cc7f4a5c02c8406a407bd (patch) | |
tree | 87a60a86688447744ad417ccac093e92aea7fc19 /Lib | |
parent | 7f8ec523021427a5c1ab3ce0cdd6e4bb909f1dc5 (diff) | |
download | cpython-a03efb533a58fd13fb0cc7f4a5c02c8406a407bd.zip cpython-a03efb533a58fd13fb0cc7f4a5c02c8406a407bd.tar.gz cpython-a03efb533a58fd13fb0cc7f4a5c02c8406a407bd.tar.bz2 |
gh-127734: improve signature of `urllib.request.HTTPPasswordMgrWithPriorAuth.__init__` (#127735)
improve signature of urllib.request.HTTPPasswordMgrWithPriorAuth.__init__
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/urllib/request.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 7ef8543..c5a6a18 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -876,9 +876,9 @@ class HTTPPasswordMgrWithDefaultRealm(HTTPPasswordMgr): class HTTPPasswordMgrWithPriorAuth(HTTPPasswordMgrWithDefaultRealm): - def __init__(self, *args, **kwargs): + def __init__(self): self.authenticated = {} - super().__init__(*args, **kwargs) + super().__init__() def add_password(self, realm, uri, user, passwd, is_authenticated=False): self.update_authenticated(uri, is_authenticated) |