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

Function _cmperror

tools/python-3.11.9-amd64/Lib/datetime.py:549–551  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

547 raise TypeError("tzinfo argument must be None or of a tzinfo subclass")
548
549def _cmperror(x, y):
550 raise TypeError("can't compare '%s' to '%s'" % (
551 type(x).__name__, type(y).__name__))
552
553def _divide_and_round(a, b):
554 """divide a by b and round result to the nearest integer

Callers 4

__le__Method · 0.85
__lt__Method · 0.85
__ge__Method · 0.85
__gt__Method · 0.85

Calls 1

typeClass · 0.50

Tested by

no test coverage detected