File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ def compile_tables(data: dict) -> dict:
4343 """
4444
4545 # Conversion from WL to the fully qualified names
46+ # We filter the dictionary after it's first created to redundant entries
4647 wl_to_ascii_dict = {v ["wl-unicode" ]: get_plain_text (k , v , False )
4748 for k , v in data .items ()}
4849 wl_to_ascii_dict = {k : v for k , v in wl_to_ascii_dict .items () if k != v }
@@ -57,6 +58,7 @@ def compile_tables(data: dict) -> dict:
5758 wl_to_unicode_re = re_from_keys (wl_to_unicode_dict )
5859
5960 # Conversion from unicode to wl
61+ # We filter the dictionary after it's first created to redundant entries
6062 unicode_to_wl_dict = {v ["unicode-equivalent" ]: v ["wl-unicode" ]
6163 for v in data .values ()
6264 if "unicode-equivalent" in v
You can’t perform that action at this time.
0 commit comments