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

Function _builtin_from_name

Lib/importlib/_bootstrap.py:1421–1425  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1419
1420
1421def _builtin_from_name(name):
1422 spec = BuiltinImporter.find_spec(name)
1423 if spec is None:
1424 raise ImportError('no built-in module named ' + name)
1425 return _load_unlocked(spec)
1426
1427
1428def _setup(sys_module, _imp_module):

Callers 1

_setupFunction · 0.85

Calls 2

_load_unlockedFunction · 0.85
find_specMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…