Searched refs:logical_invert (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 1998 d = c.logical_invert(Decimal(1000)) 1999 self.assertEqual(c.logical_invert(1000), d) 2000 self.assertRaises(TypeError, c.logical_invert, '1000')
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 683 .. method:: logical_invert(context=None) 685 :meth:`logical_invert` is a logical operation. The 894 The :meth:`logical_and`, :meth:`logical_invert`, :meth:`logical_or`, 1273 .. method:: logical_invert(x) 2180 >>> x = Decimal(0).logical_invert() * 9
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 2212 self.assertEqual(str(x.logical_invert(context=None)), '1111000') 2213 self.assertRaises(InvalidOperation, y.logical_invert, context=None) 2726 self.assertEqual(D(0).logical_invert(context=xc), 1) 3230 d = c.logical_invert(Decimal(1000)) 3231 self.assertEqual(c.logical_invert(1000), d) 3232 self.assertRaises(TypeError, c.logical_invert, '1000') 4319 self.assertEqual(Decimal("10").logical_invert(), 1)
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 685 .. method:: logical_invert([context]) 687 :meth:`logical_invert` is a logical operation. The 924 The :meth:`logical_and`, :meth:`logical_invert`, :meth:`logical_or`, 1296 .. method:: logical_invert(x)
|
/external/python/cpython2/Lib/ |
D | decimal.py | 3291 def logical_invert(self, context=None): member in Decimal 4589 def logical_invert(self, a): member in Context 4606 return a.logical_invert(context=self)
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 3397 def logical_invert(self, context=None): member in Decimal 4765 def logical_invert(self, a): member in Context 4782 return a.logical_invert(context=self)
|