Searched refs:compare_signal (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 1632 self.assertEqual(Decimal(4).compare_signal(3), 1633 Decimal(4).compare_signal(Decimal(3))) 1818 d = c.compare_signal(Decimal(1), Decimal(1)) 1819 self.assertEqual(c.compare_signal(1, 1), d) 1820 self.assertEqual(c.compare_signal(Decimal(1), 1), d) 1821 self.assertEqual(c.compare_signal(1, Decimal(1)), d) 1822 self.assertRaises(TypeError, c.compare_signal, '1', 1) 1823 self.assertRaises(TypeError, c.compare_signal, 1, '1')
|
/external/python/cpython2/Lib/ |
D | decimal.py | 2817 def compare_signal(self, other, context=None): member in Decimal 4049 def compare_signal(self, a, b): member in Context 4082 return a.compare_signal(b, context=self)
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 457 .. method:: compare_signal(other[, context]) 1171 .. method:: compare_signal(x, y)
|