Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/python/mypy
/ is_probably_private
Function
is_probably_private
mypy/stubtest.py:1847–1848 ·
view source on GitHub ↗
(name: str)
Source
from the content-addressed store, hash-verified
1845
1846
1847
def
is_probably_private(name: str) -> bool:
1848
return
name.startswith(
"_"
) and not is_dunder(name)
1849
1850
1851
def
is_probably_a_function(runtime: Any) -> bool:
Callers
3
test_module
Function · 0.85
verify_mypyfile
Function · 0.85
verify_typeinfo
Function · 0.85
Calls
2
is_dunder
Function · 0.90
startswith
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…