PyFunctionObject.func_dict

The __dict__ attribute, a dict or NULL

struct PyFunctionObject
PyObject* func_dict;

Meta