Home
last modified time | relevance | path

Searched refs:func_annotations (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Objects/
Dfuncobject.c66 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 …]
/third_party/python/Include/
Dfuncobject.h33 PyObject *func_annotations; /* Annotations, a dict or NULL */ member
85 (((PyFunctionObject *)func) -> func_annotations)
/third_party/python/Python/
Dceval.c3610 func->func_annotations = POP(); in _PyEval_EvalFrameDefault()