Skip to content

Commit b56100c

Browse files
[3.13] gh-127734: improve signature of urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ (GH-127735) (#127744)
gh-127734: improve signature of `urllib.request.HTTPPasswordMgrWithPriorAuth.__init__` (GH-127735) improve signature of urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ (cherry picked from commit a03efb5) Co-authored-by: Stephen Morton <git@tungol.org>
1 parent 2ba5190 commit b56100c

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
@@ -878,9 +878,9 @@ def find_user_password(self, realm, authuri):
878878

879879
class HTTPPasswordMgrWithPriorAuth(HTTPPasswordMgrWithDefaultRealm):
880880

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

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

0 commit comments

Comments
 (0)