MCPcopy
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
1847def is_probably_private(name: str) -> bool:
1848 return name.startswith("_") and not is_dunder(name)
1849
1850
1851def is_probably_a_function(runtime: Any) -> bool:

Callers 3

test_moduleFunction · 0.85
verify_mypyfileFunction · 0.85
verify_typeinfoFunction · 0.85

Calls 2

is_dunderFunction · 0.90
startswithMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…