MCPcopy Index your code
hub / github.com/RustPython/RustPython / add_password

Method add_password

Lib/urllib/request.py:883–888  ·  view source on GitHub ↗
(self, realm, uri, user, passwd, is_authenticated=False)

Source from the content-addressed store, hash-verified

881 super().__init__()
882
883 def add_password(self, realm, uri, user, passwd, is_authenticated=False):
884 self.update_authenticated(uri, is_authenticated)
885 # Add a default for prior auth requests
886 if realm is not None:
887 super().add_password(None, uri, user, passwd)
888 super().add_password(realm, uri, user, passwd)
889
890 def update_authenticated(self, uri, is_authenticated=False):
891 # uri could be a single URI or a sequence

Callers

nothing calls this directly

Calls 3

update_authenticatedMethod · 0.95
superClass · 0.85
add_passwordMethod · 0.45

Tested by

no test coverage detected