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

Function map_table_b2

Lib/stringprep.py:195–203  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

193
194
195def map_table_b2(a):
196 al = map_table_b3(a)
197 b = unicodedata.normalize("NFKC", al)
198 bl = "".join([map_table_b3(ch) for ch in b])
199 c = unicodedata.normalize("NFKC", bl)
200 if b != c:
201 return c
202 else:
203 return al
204
205
206def in_table_c11(code):

Callers 1

testMethod · 0.50

Calls 3

map_table_b3Function · 0.70
normalizeMethod · 0.45
joinMethod · 0.45

Tested by 1

testMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…