/usr/include/python3.10
NameSizeModeActions
cpython/-0755rm
internal/-0755rm
abstract.h314050644editdlrm
bltinmodule.h2640644editdlrm
boolobject.h12240644editdlrm
bytearrayobject.h14840644editdlrm
bytesobject.h25930644editdlrm
cellobject.h7200644editdlrm
ceval.h57030644editdlrm
classobject.h16570644editdlrm
code.h3180644editdlrm
codecs.h70710644editdlrm
compile.h5200644editdlrm
complexobject.h18060644editdlrm
context.h19620644editdlrm
datetime.h96350644editdlrm
descrobject.h30020644editdlrm
dictobject.h38530644editdlrm
dynamic_annotations.h224710644editdlrm
enumobject.h2530644editdlrm
errcode.h17000644editdlrm
eval.h8310644editdlrm
exports.h10980644editdlrm
fileobject.h15710644editdlrm
fileutils.h5080644editdlrm
floatobject.h43600644editdlrm
frameobject.h3370644editdlrm
funcobject.h42570644editdlrm
genericaliasobject.h3340644editdlrm
genobject.h33470644editdlrm
graminit.h00644editdlrm
import.h30260644editdlrm
interpreteridobject.h3340644editdlrm
intrcheck.h7720644editdlrm
iterobject.h5930644editdlrm
listobject.h17810644editdlrm
longintrepr.h37990644editdlrm
longobject.h86060644editdlrm
marshal.h8030644editdlrm
memoryobject.h27640644editdlrm
methodobject.h41470644editdlrm
modsupport.h103330644editdlrm
moduleobject.h24580644editdlrm
namespaceobject.h3490644editdlrm
object.h283440644editdlrm
objimpl.h84450644editdlrm
opcode.h55090644editdlrm
osdefs.h7370644editdlrm
osmodule.h2910644editdlrm
patchlevel.h13010644editdlrm
pycapsule.h17250644editdlrm
pyconfig.h41590644editdlrm
pydtrace.h24130644editdlrm
pyerrors.h124260644editdlrm
pyexpat.h24500644editdlrm
pyframe.h4660644editdlrm
pyhash.h42230644editdlrm
pylifecycle.h20800644editdlrm
pymacconfig.h29890644editdlrm
pymacro.h49200644editdlrm
pymath.h83130644editdlrm
pymem.h38910644editdlrm
pyport.h316840644editdlrm
pystate.h52500644editdlrm
pystrcmp.h4360644editdlrm
pystrhex.h8490644editdlrm
pystrtod.h14830644editdlrm
Python.h32240644editdlrm
pythonrun.h11100644editdlrm
pythread.h59890644editdlrm
py_curses.h24740644editdlrm
rangeobject.h6280644editdlrm
setobject.h33810644editdlrm
sliceobject.h25160644editdlrm
structmember.h20740644editdlrm
structseq.h13900644editdlrm
sysmodule.h12420644editdlrm
token.h26690644editdlrm
traceback.h5840644editdlrm
tracemalloc.h11140644editdlrm
tupleobject.h16140644editdlrm
typeslots.h24600644editdlrm
unicodeobject.h361480644editdlrm
warnings.h17760644editdlrm
weakrefobject.h28630644editdlrm
Edit: /usr/include/python3.10/funcobject.h (4257B)
/* Function object interface */ #ifndef Py_LIMITED_API #ifndef Py_FUNCOBJECT_H #define Py_FUNCOBJECT_H #ifdef __cplusplus extern "C" { #endif #define COMMON_FIELDS(PREFIX) \ PyObject *PREFIX ## globals; \ PyObject *PREFIX ## builtins; \ PyObject *PREFIX ## name; \ PyObject *PREFIX ## qualname; \ PyObject *PREFIX ## code; /* A code object, the __code__ attribute */ \ PyObject *PREFIX ## defaults; /* NULL or a tuple */ \ PyObject *PREFIX ## kwdefaults; /* NULL or a dict */ \ PyObject *PREFIX ## closure; /* NULL or a tuple of cell objects */ typedef struct { COMMON_FIELDS(fc_) } PyFrameConstructor; /* Function objects and code objects should not be confused with each other: * * Function objects are created by the execution of the 'def' statement. * They reference a code object in their __code__ attribute, which is a * purely syntactic object, i.e. nothing more than a compiled version of some * source code lines. There is one code object per source code "fragment", * but each code object can be referenced by zero or many function objects * depending only on how many times the 'def' statement in the source was * executed so far. */ typedef struct { PyObject_HEAD COMMON_FIELDS(func_) PyObject *func_doc; /* The __doc__ attribute, can be anything */ PyObject *func_dict; /* The __dict__ attribute, a dict or NULL */ PyObject *func_weakreflist; /* List of weak references */ PyObject *func_module; /* The __module__ attribute, can be anything */ PyObject *func_annotations; /* Annotations, a dict or NULL */ vectorcallfunc vectorcall; /* 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). */ } PyFunctionObject; PyAPI_DATA(PyTypeObject) PyFunction_Type; #define PyFunction_Check(op) Py_IS_TYPE(op, &PyFunction_Type) PyAPI_FUNC(PyObject *) PyFunction_New(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_NewWithQualName(PyObject *, PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetCode(PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetGlobals(PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetModule(PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetDefaults(PyObject *); PyAPI_FUNC(int) PyFunction_SetDefaults(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetKwDefaults(PyObject *); PyAPI_FUNC(int) PyFunction_SetKwDefaults(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetClosure(PyObject *); PyAPI_FUNC(int) PyFunction_SetClosure(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetAnnotations(PyObject *); PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyFunction_Vectorcall( PyObject *func, PyObject *const *stack, size_t nargsf, PyObject *kwnames); #endif /* Macros for direct access to these values. Type checks are *not* done, so use with care. */ #define PyFunction_GET_CODE(func) \ (((PyFunctionObject *)func) -> func_code) #define PyFunction_GET_GLOBALS(func) \ (((PyFunctionObject *)func) -> func_globals) #define PyFunction_GET_MODULE(func) \ (((PyFunctionObject *)func) -> func_module) #define PyFunction_GET_DEFAULTS(func) \ (((PyFunctionObject *)func) -> func_defaults) #define PyFunction_GET_KW_DEFAULTS(func) \ (((PyFunctionObject *)func) -> func_kwdefaults) #define PyFunction_GET_CLOSURE(func) \ (((PyFunctionObject *)func) -> func_closure) #define PyFunction_GET_ANNOTATIONS(func) \ (((PyFunctionObject *)func) -> func_annotations) #define PyFunction_AS_FRAME_CONSTRUCTOR(func) \ ((PyFrameConstructor *)&((PyFunctionObject *)(func))->func_globals) /* The classmethod and staticmethod types lives here, too */ PyAPI_DATA(PyTypeObject) PyClassMethod_Type; PyAPI_DATA(PyTypeObject) PyStaticMethod_Type; PyAPI_FUNC(PyObject *) PyClassMethod_New(PyObject *); PyAPI_FUNC(PyObject *) PyStaticMethod_New(PyObject *); #ifdef __cplusplus } #endif #endif /* !Py_FUNCOBJECT_H */ #endif /* Py_LIMITED_API */