Esempio n. 1
0
def Py_UNICODE_ISDECIMAL(space, ch):
    """Return 1 or 0 depending on whether ch is a decimal character."""
    return unicodedb.isdecimal(ord(ch))
Esempio n. 2
0
 def _isdecimal(self, ch):
     return unicodedb.isdecimal(ord(ch))
Esempio n. 3
0
 def _isdecimal(self, ch):
     return unicodedb.isdecimal(ord(ch))
Esempio n. 4
0
def Py_UNICODE_ISDECIMAL(space, ch):
    """Return 1 or 0 depending on whether ch is a decimal character."""
    return unicodedb.isdecimal(ord(ch))