MCPcopy Index your code
hub / github.com/ipython/ipython / _unicode_name_compute

Function _unicode_name_compute

IPython/core/completer.py:3846–3854  ·  view source on GitHub ↗
(ranges: list[tuple[int, int]])

Source from the content-addressed store, hash-verified

3844
3845
3846def _unicode_name_compute(ranges: list[tuple[int, int]]) -> list[str]:
3847 names = []
3848 for start,stop in ranges:
3849 for c in range(start, stop) :
3850 try:
3851 names.append(unicodedata.name(chr(c)))
3852 except ValueError:
3853 pass
3854 return names

Callers 2

test_unicode_rangeFunction · 0.90
unicode_namesMethod · 0.85

Calls 1

nameMethod · 0.80

Tested by 1

test_unicode_rangeFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…