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

Method compare

Lib/decimal.py:916–933  ·  view source on GitHub ↗

Compares one to another. -1 => a < b 0 => a = b 1 => a > b NaN => one is NaN Like __cmp__, but returns Decimal instances.

(self, other, context=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

compare_signalMethod · 0.95
compareMethod · 0.45

Calls 4

_check_nansMethod · 0.95
_cmpMethod · 0.95
_convert_otherFunction · 0.85
DecimalClass · 0.85

Tested by

no test coverage detected