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

Method __eq__

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

Source from the content-addressed store, hash-verified

1098 # Comparisons of date objects with other.
1099
1100 def __eq__(self, other):
1101 if isinstance(other, date):
1102 return self._cmp(other) == 0
1103 return NotImplemented
1104
1105 def __le__(self, other):
1106 if isinstance(other, date):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected