Searched refs:isdecimal (Results 1 – 6 of 6) sorted by relevance
32 "01"[char.isdecimal()],43 "01"[(char + '123').isdecimal()],
207 self.assertIs("0123".isdecimal(), True)208 self.assertIs("xyz".isdecimal(), False)
700 self.assertFalse(ch.isdecimal(), '{!a} is not decimal.'.format(ch))702 self.assertTrue(ch.isdecimal(), '{!a} is decimal.'.format(ch))
1456 def isdecimal(self): member in UserString1457 return self.data.isdecimal()
234 isdecimal
1715 of the following returns ``True``: ``c.isalpha()``, ``c.isdecimal()``,1737 .. method:: str.isdecimal()