我们从Python开源项目中,提取了以下3个代码示例,用于说明如何使用stringprep.in_table_a1()。
def check_unassigneds(self, string): for c in string: if stringprep.in_table_a1(c): raise UnicodeError, "Unassigned code point %s" % repr(c)
def check_unassigneds(self, string): for c in string: if stringprep.in_table_a1(c): raise UnicodeError("Unassigned code point %s" % repr(c))