Searched refs:func_annotations (Results 1 – 3 of 3) sorted by relevance
51 op->func_annotations = NULL; in PyFunction_NewWithQualName()206 return ((PyFunctionObject *) op) -> func_annotations; in PyFunction_GetAnnotations()226 Py_XSETREF(((PyFunctionObject *)op)->func_annotations, annotations); in PyFunction_SetAnnotations()380 if (op->func_annotations == NULL) { in func_get_annotations()381 op->func_annotations = PyDict_New(); in func_get_annotations()382 if (op->func_annotations == NULL) in func_get_annotations()385 Py_INCREF(op->func_annotations); in func_get_annotations()386 return op->func_annotations; in func_get_annotations()403 Py_XSETREF(op->func_annotations, value); in func_set_annotations()541 Py_XDECREF(op->func_annotations); in func_dealloc()[all …]
33 PyObject *func_annotations; /* Annotations, a dict or NULL */ member90 (((PyFunctionObject *)func) -> func_annotations)
3221 func->func_annotations = POP(); in _PyEval_EvalFrameDefault()