Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ target_generator.py
File
target_generator.py
Tools/cases_generator/target_generator.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"Generate targets
for
computed goto dispatch
2
Reads the instruction definitions
from
bytecodes.c.
3
Writes the table to opcode_targets.h by default.
4
""
"
Callers
nothing calls this directly
Calls
8
analyze_files
Function · 0.90
CWriter
Class · 0.90
write_opcode_targets
Function · 0.85
write_tailcall_dispatch_table
Function · 0.85
open
Function · 0.50
add_argument
Method · 0.45
parse_args
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected