MCPcopy Index your code
hub / github.com/python/cpython / py_metadata_generator.py

File py_metadata_generator.py

Tools/cases_generator/py_metadata_generator.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Generate opcode metadata for Python.
2Reads the instruction definitions from bytecodes.c.
3Writes the metadata to _opcode_metadata.py by default.
4"""

Callers

nothing calls this directly

Calls 6

analyze_filesFunction · 0.90
generate_py_metadataFunction · 0.85
openFunction · 0.50
add_argumentMethod · 0.45
parse_argsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected