Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ AddPackagePath
Function
AddPackagePath
Lib/modulefinder.py:30–31 ·
view source on GitHub ↗
(packagename, path)
Source
from the content-addressed store, hash-verified
28
29
# A Public interface
30
def
AddPackagePath(packagename, path):
31
packagePathMap.setdefault(packagename, []).append(path)
32
33
replacePackageMap = {}
34
Callers
nothing calls this directly
Calls
2
append
Method · 0.45
setdefault
Method · 0.45
Tested by
no test coverage detected