diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 9a559f44152be5..c7ded0f67fc67e 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -903,9 +903,9 @@ def find_user_password(self, realm, authuri): 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)