Home
last modified time | relevance | path

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

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