Searched refs:PyFunctionObject (Results 1 – 6 of 6) sorted by relevance
13 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 …]
382 PyObject *name = ((PyFunctionObject *)func) -> func_name; in _PyFunction_Vectorcall()383 PyObject *qualname = ((PyFunctionObject *)func) -> func_qualname; in _PyFunction_Vectorcall()
42 } PyFunctionObject; typedef73 (((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)
13 .. c:type:: PyFunctionObject
3595 PyFunctionObject *func = (PyFunctionObject *) in _PyEval_EvalFrameDefault()4971 return PyUnicode_AsUTF8(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName()
446 - bpo-42143: Fix handling of errors during creation of ``PyFunctionObject``,