Example #1
0
def char_numeric_huh(w_char):
    c = ord(w_char.value)
    return values.w_true if unicodedb.isnumeric(c) else values.w_false
Example #2
0
File: string.py Project: 8l/pycket
def char_numeric_huh(w_char):
    c = ord(w_char.value)
    return values.w_true if unicodedb.isnumeric(c) else values.w_false