Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita03efb5

Browse files
authored
gh-127734: improve signature ofurllib.request.HTTPPasswordMgrWithPriorAuth.__init__ (#127735)
improve signature of urllib.request.HTTPPasswordMgrWithPriorAuth.__init__
1 parent7f8ec52 commita03efb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Lib/urllib/request.py‎

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

877877
classHTTPPasswordMgrWithPriorAuth(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
defadd_password(self,realm,uri,user,passwd,is_authenticated=False):
884884
self.update_authenticated(uri,is_authenticated)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp