Home
last modified time | relevance | path

Searched refs:copy_negate (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/
D_pydecimal.py1110 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/
Ddecimal.py1077 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/
Dtest_decimal.py1857 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/
Dtest_decimal.py2764 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/
Ddecimal.rst509 .. method:: copy_negate()
1191 .. method:: copy_negate(x)
/external/python/cpython3/Doc/library/
Ddecimal.rst546 .. method:: copy_negate()
1168 .. method:: copy_negate(x)