MCPcopy Index your code
hub / github.com/RustPython/RustPython / _builtin_from_name

Function _builtin_from_name

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

Source from the content-addressed store, hash-verified

1500
1501
1502def _builtin_from_name(name):
1503 spec = BuiltinImporter.find_spec(name)
1504 if spec is None:
1505 raise ImportError('no built-in module named ' + name)
1506 return _load_unlocked(spec)
1507
1508
1509def _setup(sys_module, _imp_module):

Callers 1

_setupFunction · 0.70

Calls 2

_load_unlockedFunction · 0.70
find_specMethod · 0.45

Tested by

no test coverage detected