MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __eq__

Method __eq__

tools/python-3.11.9-amd64/Lib/datetime.py:836–840  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

834 # Comparisons of timedelta objects with other.
835
836 def __eq__(self, other):
837 if isinstance(other, timedelta):
838 return self._cmp(other) == 0
839 else:
840 return NotImplemented
841
842 def __le__(self, other):
843 if isinstance(other, timedelta):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected