#include <func.h>
Public Attributes | |
PmObjDesc_t | od |
pPmCo_t | f_co |
pPmDict_t | f_attrs |
pPmDict_t | f_globals |
A function is like an instance of a code obj. Contains ptr to its code obj and has its own attributes dict.
The first (__main__) module that is executed has a function obj created for it to execute the bytecode which builds the module.
Ptr to attribute dict
Ptr to code obj
Ptr to globals dict
Object descriptor