Lines Matching refs:unicodedata
8 from unicodedata import ucd_3_2_0 as unicodedata unknown
10 assert unicodedata.unidata_version == '3.2.0'
13 if unicodedata.category(code) != 'Cn': return False
197 b = unicodedata.normalize("NFKC", al)
199 c = unicodedata.normalize("NFKC", bl)
211 return unicodedata.category(code) == "Zs" and code != u" "
214 return unicodedata.category(code) == "Zs"
218 return ord(code) < 128 and unicodedata.category(code) == "Cc"
224 if unicodedata.category(code) == "Cc": return True
228 return unicodedata.category(code) == "Cc" or \
233 return unicodedata.category(code) == "Co"
244 return unicodedata.category(code) == "Cs"
268 return unicodedata.bidirectional(code) in ("R","AL")
272 return unicodedata.bidirectional(code) == "L"