Beispiel #1
0
def in_table_d2(code):
    return unicodedata.bidirectional(code) == "L"
def in_table_d1(code):
    return unicodedata.bidirectional(code) in ('R', 'AL')
Beispiel #3
0
def in_table_d1(code):
    return unicodedata.bidirectional(code) in ("R","AL")
Beispiel #4
0
def in_table_d1(code):
    return unicodedata.bidirectional(code) in ('R', 'AL')
Beispiel #5
0
def is_LCat(c):
    return unicodedata.bidirectional(c) == "L"
Beispiel #6
0
def is_RandALCat(c):
    return unicodedata.bidirectional(c) in ("R", "AL")
Beispiel #7
0
def gen_bidirectional(cats):
    for i in range(0, 0x110000):
        if unicodedata.bidirectional(chr(i)) in cats:
            yield(i)
Beispiel #8
0
def gen_bidirectional(cats):
    for i in range(0, 0x110000):
        if unicodedata.bidirectional(chr(i)) in cats:
            yield (i)