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

Function map_table_b2

Tools/unicode/mkstringprep.py:208–216  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

206# NormalizeWithKC(Fold(NormalizeWithKC(Fold(a))))
207
208def map_table_b2(a):
209 al = map_table_b3(a)
210 b = unicodedata.normalize("NFKC", al)
211 bl = "".join([map_table_b3(ch) for ch in b])
212 c = unicodedata.normalize("NFKC", bl)
213 if b != c:
214 return c
215 else:
216 return al
217
218specials = {}
219for k,v in table_b2.items():

Callers 1

mkstringprep.pyFile · 0.70

Calls 3

map_table_b3Function · 0.70
normalizeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…