예제 #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))
예제 #2
0
 def _isdecimal(self, ch):
     return unicodedb.isdecimal(ord(ch))
예제 #3
0
 def _isdecimal(self, ch):
     return unicodedb.isdecimal(ord(ch))
예제 #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))