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

Method __eq__

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

Source from the content-addressed store, hash-verified

1407 # Comparisons of time objects with other.
1408
1409 def __eq__(self, other):
1410 if isinstance(other, time):
1411 return self._cmp(other, allow_mixed=True) == 0
1412 else:
1413 return NotImplemented
1414
1415 def __le__(self, other):
1416 if isinstance(other, time):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected