Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/python/mypy
/ mypy_path
Function
mypy_path
mypy/modulefinder.py:787–791 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
785
786
787
def
mypy_path() -> list[str]:
788
path_env = os.getenv(
"MYPYPATH"
)
789
if
not path_env:
790
return
[]
791
return
path_env.split(os.pathsep)
792
793
794
def
default_lib_path(
Callers
3
get_explicit_package_bases
Function · 0.90
process_options
Function · 0.90
compute_search_paths
Function · 0.85
Calls
1
split
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…