Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
76
def
resolve(cand: Optional[Anchor]) -> types.ModuleType:
77
return
cast(types.ModuleType, cand)
78
79
80
@resolve.register
Callers
2
files
Function · 0.70
_
Function · 0.70
Calls
1
cast
Function · 0.90
Tested by
no test coverage detected