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

Function resolve

Lib/importlib/resources/_common.py:76–77  ·  view source on GitHub ↗
(cand: Optional[Anchor])

Source from the content-addressed store, hash-verified

74
75@functools.singledispatch
76def resolve(cand: Optional[Anchor]) -> types.ModuleType:
77 return cast(types.ModuleType, cand)
78
79
80@resolve.register

Callers 2

filesFunction · 0.70
_Function · 0.70

Calls 1

castFunction · 0.90

Tested by

no test coverage detected