Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
42
def
resolve(cand: Optional[Anchor]) -> types.ModuleType:
43
return
cast(types.ModuleType, cand)
44
45
46
@resolve.register
Callers
2
files
Function · 0.70
_
Function · 0.70
Calls
1
cast
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…