Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __main__.py
File
__main__.py
Lib/unittest/__main__.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"Main entry point"
""
2
3
import
sys
4
if
sys.argv[0].endswith(
"__main__.py"
):
Callers
nothing calls this directly
Calls
3
main
Function · 0.90
endswith
Method · 0.45
basename
Method · 0.45
Tested by
no test coverage detected