MCPcopy Index your code
hub / github.com/python/cpython / generate_oparg_macros

Function generate_oparg_macros

Tools/cases_generator/opcode_metadata_generator.py:76–79  ·  view source on GitHub ↗
(out: CWriter)

Source from the content-addressed store, hash-verified

74
75
76def generate_oparg_macros(out: CWriter) -> None:
77 for name, value in OPARG_KINDS.items():
78 out.emit(f"#define {name} {value}\n")
79 out.emit("\n")
80
81
82def emit_stack_effect_function(

Callers 1

generate_opcode_metadataFunction · 0.85

Calls 2

itemsMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…