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

Class _SMALLEST

Lib/test/support/__init__.py:2274–2281  ·  view source on GitHub ↗

Object that is less than anything (except itself).

Source from the content-addressed store, hash-verified

2272
2273@functools.total_ordering
2274class _SMALLEST:
2275 """
2276 Object that is less than anything (except itself).
2277 """
2278 def __eq__(self, other):
2279 return isinstance(other, _SMALLEST)
2280 def __gt__(self, other):
2281 return False
2282
2283SMALLEST = _SMALLEST()
2284

Callers 1

__init__.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…