Search code examples
pythoncpython

What's the format of the intermediate instruction in CPython?


For example, 0 STORE_NAME 0 (sys) is part of the instruction for import sys. Is there any documentation for this instruction format? What's more, is this format a standard of Python? Or implementation specific?


Solution

  • That is Python bytecode. It is specific to CPython, and even to specific versions.