Annotations, a dict or NULL Availability: 3.*
NULL or a tuple of cell objects
A code object
NULL or a tuple
The __dict__ attribute, a dict or NULL
The __doc__ attribute, can be anything
A dictionary (other mappings won't do)
NULL or a dict Availability: 3.*
The __module__ attribute, can be anything
The __name__ attribute, a string object
List of weak references
Availability: >= 3.8
_
_
subclass of PyObject
Invariant: func_closure contains the bindings for func_code->co_freevars, so PyTuple_Size(func_closure) == PyCode_GetNumFree(func_code) (func_closure may be NULL if PyCode_GetNumFree(func_code) == 0).