codeobject

noun
UK /ˈkəʊdˌɒbdʒɪkt/
US /ˈkoʊdˌɑːbdʒekt/

A code object is a special bundle of computer instructions that a program can run.

The Python function stores its instructions in a code object.


OTHER MEANINGS

2. A block of compiled instructions that a virtual machine executes.

The interpreter loaded the code object and ran it.

3. An object in a program that holds the details of a piece of code, like its name and variables.

She inspected the code object to find the function's variable names.

4. A reusable unit of code stored as data so it can be passed around and run later.

The framework turns each handler into a code object at startup.