#arguments, except *args
tuple of strings (cell variable names)
instruction opcodes
list (constants used)
Scratch space for extra data relating to the code object. Type is a void* to keep the format private in codeobject.c to force people to go through the proper APIs
string (where it was loaded from)
first source line number
first source line number
CO_..., see below
tuple of strings (free variable names)
string (encoding addr<->lineno mapping) See Objects/lnotab_notes.txt for details.
string (name, for reference)
list of strings (names used)
#local variables
#entries needed for evaluation stack
tuple of strings (local variable names)
to support weakrefs to code objects */ /// Availability: >= 2.
for optimization only (see frameobject.c) */ /// Availability: >= 2.
Bytecode object
subclass of PyObject.