Searched refs:func_annotations (Results 1 – 3 of 3) sorted by relevance
66 op->func_annotations = NULL; in PyFunction_NewWithQualName()214 return ((PyFunctionObject *) op) -> func_annotations; in PyFunction_GetAnnotations()234 Py_XSETREF(((PyFunctionObject *)op)->func_annotations, annotations); in PyFunction_SetAnnotations()423 if (op->func_annotations == NULL) { in func_get_annotations()424 op->func_annotations = PyDict_New(); in func_get_annotations()425 if (op->func_annotations == NULL) in func_get_annotations()428 Py_INCREF(op->func_annotations); in func_get_annotations()429 return op->func_annotations; in func_get_annotations()446 Py_XSETREF(op->func_annotations, value); in func_set_annotations()584 Py_CLEAR(op->func_annotations); in func_clear()[all …]
33 PyObject *func_annotations; /* Annotations, a dict or NULL */ member85 (((PyFunctionObject *)func) -> func_annotations)
3610 func->func_annotations = POP(); in _PyEval_EvalFrameDefault()