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

Method __lt__

Lib/test/test_bisect.py:349–350  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

347class CmpErr:
348 "Dummy element that always raises an error during comparison"
349 def __lt__(self, other):
350 raise ZeroDivisionError
351 __gt__ = __lt__
352 __le__ = __lt__
353 __ge__ = __lt__

Callers 3

test_richcompareMethod · 0.45
testNetworkComparisonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected