Searched refs:copy_negate (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 1110 ans = self.copy_negate() 1257 return self.__add__(other.copy_negate(), context=context) 2347 self = self.copy_negate() 3023 def copy_negate(self): member in Decimal 4321 def copy_negate(self, a): member in Context 4332 return a.copy_negate()
|
/external/python/cpython2/Lib/ |
D | decimal.py | 1077 ans = self.copy_negate() 1224 return self.__add__(other.copy_negate(), context=context) 2231 self = self.copy_negate() 2917 def copy_negate(self): member in Decimal 4147 def copy_negate(self, a): member in Context 4158 return a.copy_negate()
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 1857 d = c.copy_negate(Decimal(-1)) 1858 self.assertEqual(c.copy_negate(-1), d) 1859 self.assertRaises(TypeError, c.copy_negate, '-1')
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 2764 self.assertRaises(TypeError, D("-1").copy_negate, context=xc) 3037 d = c.copy_negate(Decimal(-1)) 3038 self.assertEqual(c.copy_negate(-1), d) 3039 self.assertRaises(TypeError, c.copy_negate, '-1') 4378 z = y.copy_negate() 4514 y = c.copy_negate(x)
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 509 .. method:: copy_negate() 1191 .. method:: copy_negate(x)
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 546 .. method:: copy_negate() 1168 .. method:: copy_negate(x)
|