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

Function open_mapping_file

Tools/unicode/genmap_support.py:171–176  ·  view source on GitHub ↗
(path, source)

Source from the content-addressed store, hash-verified

169
170
171def open_mapping_file(path, source):
172 try:
173 f = open(path)
174 except IOError:
175 raise SystemExit(f'{source} is needed')
176 return f
177
178
179def print_autogen(fo, source):

Callers 6

mainFunction · 0.85
mainFunction · 0.85
load_big5_mapFunction · 0.85
load_cp950_mapFunction · 0.85
main_hkscsFunction · 0.85
mainFunction · 0.85

Calls 1

openFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…