Lines Matching defs:attr
178 Py_CLEAR(state->attr);
287 if ((state->attr = PyUnicode_InternFromString("attr")) == NULL) return 0;
608 "attr",
1331 " | Attribute(expr value, identifier attr, expr_context ctx)\n"
1435 "Attribute(expr value, identifier attr, expr_context ctx)");
3069 _PyAST_Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int
3079 if (!attr) {
3081 "field 'attr' is required for Attribute");
3094 p->v.Attribute.attr = attr;
4591 value = ast2obj_identifier(state, o->v.Attribute.attr);
4593 if (PyObject_SetAttr(result, state->attr, value) == -1)
9472 identifier attr;
9492 if (_PyObject_LookupAttr(obj, state->attr, &tmp) < 0) {
9496 PyErr_SetString(PyExc_TypeError, "required field \"attr\" missing from Attribute");
9504 res = obj2ast_identifier(state, tmp, &attr, arena);
9526 *out = _PyAST_Attribute(value, attr, ctx, lineno, col_offset,