Home
last modified time | relevance | path

Searched refs:PyFunctionObject (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Objects/
Dfuncobject.c13 PyFunctionObject *op; in PyFunction_NewWithQualName()
33 op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type); in PyFunction_NewWithQualName()
91 return ((PyFunctionObject *) op) -> func_code; in PyFunction_GetCode()
101 return ((PyFunctionObject *) op) -> func_globals; in PyFunction_GetGlobals()
111 return ((PyFunctionObject *) op) -> func_module; in PyFunction_GetModule()
121 return ((PyFunctionObject *) op) -> func_defaults; in PyFunction_GetDefaults()
140 Py_XSETREF(((PyFunctionObject *)op)->func_defaults, defaults); in PyFunction_SetDefaults()
151 return ((PyFunctionObject *) op) -> func_kwdefaults; in PyFunction_GetKwDefaults()
171 Py_XSETREF(((PyFunctionObject *)op)->func_kwdefaults, defaults); in PyFunction_SetKwDefaults()
182 return ((PyFunctionObject *) op) -> func_closure; in PyFunction_GetClosure()
[all …]
Dcall.c382 PyObject *name = ((PyFunctionObject *)func) -> func_name; in _PyFunction_Vectorcall()
383 PyObject *qualname = ((PyFunctionObject *)func) -> func_qualname; in _PyFunction_Vectorcall()
/third_party/python/Include/
Dfuncobject.h42 } PyFunctionObject; typedef
73 (((PyFunctionObject *)func) -> func_code)
75 (((PyFunctionObject *)func) -> func_globals)
77 (((PyFunctionObject *)func) -> func_module)
79 (((PyFunctionObject *)func) -> func_defaults)
81 (((PyFunctionObject *)func) -> func_kwdefaults)
83 (((PyFunctionObject *)func) -> func_closure)
85 (((PyFunctionObject *)func) -> func_annotations)
/third_party/python/Doc/c-api/
Dfunction.rst13 .. c:type:: PyFunctionObject
/third_party/python/Python/
Dceval.c3595 PyFunctionObject *func = (PyFunctionObject *) in _PyEval_EvalFrameDefault()
4971 return PyUnicode_AsUTF8(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName()
/third_party/python/Misc/
DNEWS446 - bpo-42143: Fix handling of errors during creation of ``PyFunctionObject``,