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

Function resolve

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

Source from the content-addressed store, hash-verified

40
41@functools.singledispatch
42def resolve(cand: Optional[Anchor]) -> types.ModuleType:
43 return cast(types.ModuleType, cand)
44
45
46@resolve.register

Callers 2

filesFunction · 0.70
_Function · 0.70

Calls 1

castFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…