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

Commitb56100c

Browse files
[3.13]gh-127734: improve signature ofurllib.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 commita03efb5)Co-authored-by: Stephen Morton <git@tungol.org>
1 parent2ba5190 commitb56100c

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp