MCPcopy Index your code
hub / github.com/python/cpython / authenticators

Method authenticators

Lib/netrc.py:178–185  ·  view source on GitHub ↗

Return a (user, account, password) tuple for given host.

(self, host)

Source from the content-addressed store, hash-verified

176 " the owner")
177
178 def authenticators(self, host):
179 """Return a (user, account, password) tuple for given host."""
180 if host in self.hosts:
181 return self.hosts[host]
182 elif 'default' in self.hosts:
183 return self.hosts['default']
184 else:
185 return None
186
187 def __repr__(self):
188 """Dump the class data in the format of a .netrc file."""

Callers 1

testFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected