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

Method __eq__

Lib/_pydatetime.py:1489–1493  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1487 # Comparisons of time objects with other.
1488
1489 def __eq__(self, other):
1490 if isinstance(other, time):
1491 return self._cmp(other, allow_mixed=True) == 0
1492 else:
1493 return NotImplemented
1494
1495 def __le__(self, other):
1496 if isinstance(other, time):

Callers

nothing calls this directly

Calls 2

_cmpMethod · 0.95
isinstanceFunction · 0.85

Tested by

no test coverage detected