Searched refs:is_zero (Results 1 – 4 of 4) sorted by relevance
1198 int is_zero = n == 0; in _PyInt_Format() local1240 if (!is_zero) in _PyInt_Format()
1172 int is_zero = n == 0; in _PyInt_Format() local1214 if (!is_zero) in _PyInt_Format()
1941 d = c.is_zero(Decimal(10))1942 self.assertEqual(c.is_zero(10), d)1943 self.assertRaises(TypeError, c.is_zero, '10')
3031 def is_zero(self): member in Decimal3482 if self.is_zero():4441 def is_zero(self, a): member in Context4456 return a.is_zero()