MCPcopy Index your code
hub / github.com/rspeer/python-ftfy / run

Function run

scripts/char_data_table.py:66–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65
66def run() -> None:
67 print("# utf8_first_of_2")
68 show_char_table(UTF8_CLUES["utf8_first_of_2"], 0xC2, 0xDF)
69 print("# utf8_first_of_3")
70 show_char_table(UTF8_CLUES["utf8_first_of_3"], 0xE0, 0xEF)
71 print("# utf8_first_of_4")
72 show_char_table(UTF8_CLUES["utf8_first_of_4"], 0xF0, 0xF3)
73 print("# utf8_continuation")
74 print(r' "\x80-\xbf"')
75 show_char_table(UTF8_CLUES["utf8_continuation"][3:], 0x80, 0xBF)
76 print("# utf8_continuation_strict")
77 print(r' "\x80-\xbf"')
78 show_char_table(UTF8_CLUES["utf8_continuation_strict"][3:], 0x80, 0xBF)
79
80
81if __name__ == "__main__":

Callers 1

char_data_table.pyFile · 0.85

Calls 1

show_char_tableFunction · 0.85

Tested by

no test coverage detected