MCPcopy Index your code
hub / github.com/python/cpython / maketables

Function maketables

Tools/unicode/makeunicodedata.py:152–168  ·  view source on GitHub ↗
(trace=0)

Source from the content-addressed store, hash-verified

150
151
152def maketables(trace=0):
153
154 print("--- Reading", UNICODE_DATA % "", "...")
155
156 unicode = UnicodeData(UNIDATA_VERSION)
157
158 print(len(list(filter(None, unicode.table))), "characters")
159
160 for version in old_versions:
161 print("--- Reading", UNICODE_DATA % ("-"+version), "...")
162 old_unicode = UnicodeData(version, ideograph_check=False)
163 print(len(list(filter(None, old_unicode.table))), "characters")
164 merge_old_version(version, unicode, old_unicode)
165
166 makeunicodename(unicode, trace)
167 makeunicodedata(unicode, trace)
168 makeunicodetype(unicode, trace)
169
170
171# --------------------------------------------------------------------

Callers 1

makeunicodedata.pyFile · 0.85

Calls 7

UnicodeDataClass · 0.85
listClass · 0.85
merge_old_versionFunction · 0.85
makeunicodenameFunction · 0.85
makeunicodedataFunction · 0.85
makeunicodetypeFunction · 0.85
filterFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…