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