Lines Matching refs:func_annotations
41 op->func_annotations = NULL;
117 op->func_annotations = NULL;
282 if (op->func_annotations == NULL) {
285 if (PyTuple_CheckExact(op->func_annotations)) {
286 PyObject *ann_tuple = op->func_annotations;
303 Py_SETREF(op->func_annotations, ann_dict);
305 assert(PyDict_Check(op->func_annotations));
306 return op->func_annotations;
337 Py_XSETREF(((PyFunctionObject *)op)->func_annotations, annotations);
531 if (op->func_annotations == NULL) {
532 op->func_annotations = PyDict_New();
533 if (op->func_annotations == NULL)
548 /* Legal to del f.func_annotations.
549 * Can only set func_annotations to NULL (through C api)
558 Py_XSETREF(op->func_annotations, value);
695 Py_CLEAR(op->func_annotations);
741 Py_VISIT(f->func_annotations);