MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / default_3way_compare

Function default_3way_compare

Objects/object.c:762–802  ·  view source on GitHub ↗

Final fallback 3-way comparison, returning an int. Return: -2 if an error occurred; -1 if v < w; 0 if v == w; 1 if v > w. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

do_cmpFunction · 0.85
try_3way_to_rich_compareFunction · 0.85

Calls 1

PyNumber_CheckFunction · 0.85

Tested by

no test coverage detected