Home
last modified time | relevance | path

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

/third_party/python/Objects/
H A Dfuncobject.c41 op->func_annotations = NULL; in _PyFunction_FromConstructor()
117 op->func_annotations = NULL; in PyFunction_NewWithQualName()
282 if (op->func_annotations == NULL) { in func_get_annotation_dict()
285 if (PyTuple_CheckExact(op->func_annotations)) { in func_get_annotation_dict()
286 PyObject *ann_tuple = op->func_annotations; in func_get_annotation_dict()
303 Py_SETREF(op->func_annotations, ann_dict); in func_get_annotation_dict()
305 assert(PyDict_Check(op->func_annotations)); in func_get_annotation_dict()
306 return op->func_annotations; in func_get_annotation_dict()
337 Py_XSETREF(((PyFunctionObject *)op)->func_annotations, annotations); in PyFunction_SetAnnotations()
531 if (op->func_annotations in func_get_annotations()
[all...]
/third_party/python/Include/cpython/
H A Dfuncobject.h43 PyObject *func_annotations; /* Annotations, a dict or NULL */ member
100 (((PyFunctionObject *)func) -> func_annotations)
/third_party/python/Python/
H A Dceval.c5412 func->func_annotations = POP();

Completed in 12 milliseconds