Skip to content

Commit a03efb5

Browse files
authored
pythongh-127734: improve signature of urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ (python#127735)
improve signature of urllib.request.HTTPPasswordMgrWithPriorAuth.__init__
1 parent 7f8ec52 commit a03efb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/urllib/request.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -876,9 +876,9 @@ def find_user_password(self, realm, authuri):
876876

877877
class HTTPPasswordMgrWithPriorAuth(HTTPPasswordMgrWithDefaultRealm):
878878

879-
def __init__(self, *args, **kwargs):
879+
def __init__(self):
880880
self.authenticated = {}
881-
super().__init__(*args, **kwargs)
881+
super().__init__()
882882

883883
def add_password(self, realm, uri, user, passwd, is_authenticated=False):
884884
self.update_authenticated(uri, is_authenticated)

0 commit comments

Comments
 (0)