MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / __eq__

Method __eq__

0b_traits/python/defaults.py:13–14  ·  view source on GitHub ↗
(self, rh)

Source from the content-addressed store, hash-verified

11 return D(self.x + rh.x, self.y + rh.y, self.z + rh.z)
12
13 def __eq__(self, rh):
14 return self.x == rh.x and self.y == rh.y and self.z == rh.z
15
16
17if __name__ == "__main__":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected