MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / __eq__

Method __eq__

bitcoin/core/serialize.py:115–119  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

113 return Hash(self.serialize())
114
115 def __eq__(self, other):
116 if (not isinstance(other, self.__class__) and
117 not isinstance(self, other.__class__)):
118 return NotImplemented
119 return self.serialize() == other.serialize()
120
121 def __ne__(self, other):
122 return not (self == other)

Callers

nothing calls this directly

Calls 2

serializeMethod · 0.95
serializeMethod · 0.45

Tested by

no test coverage detected