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

Method __eq__

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

Source from the content-addressed store, hash-verified

1507 # Comparisons of time objects with other.
1508
1509 def __eq__(self, other):
1510 if isinstance(other, time):
1511 return self._cmp(other, allow_mixed=True) == 0
1512 else:
1513 return NotImplemented
1514
1515 def __le__(self, other):
1516 if isinstance(other, time):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected