MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / __eq__

Method __eq__

mitmproxy/certs.py:73–74  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

71 self._cert = cert
72
73 def __eq__(self, other):
74 return self.fingerprint() == other.fingerprint()
75
76 def __repr__(self):
77 altnames = [str(x.value) for x in self.altnames]

Callers

nothing calls this directly

Calls 1

fingerprintMethod · 0.95

Tested by

no test coverage detected