Lines Matching defs:ifs
209 Py_CLEAR(state->ifs);
312 if ((state->ifs = PyUnicode_InternFromString("ifs")) == NULL) return 0;
646 "ifs",
1700 "comprehension(expr target, expr iter, expr* ifs, int is_async)");
3260 _PyAST_comprehension(expr_ty target, expr_ty iter, asdl_expr_seq * ifs, int
3279 p->ifs = ifs;
4884 value = ast2obj_list(state, (asdl_seq*)o->ifs, ast2obj_expr);
4886 if (PyObject_SetAttr(result, state->ifs, value) == -1)
10220 asdl_expr_seq* ifs;
10257 if (_PyObject_LookupAttr(obj, state->ifs, &tmp) < 0) {
10261 PyErr_SetString(PyExc_TypeError, "required field \"ifs\" missing from comprehension");
10269 PyErr_Format(PyExc_TypeError, "comprehension field \"ifs\" must be a list, not a %.200s", _PyType_Name(Py_TYPE(tmp)));
10273 ifs = _Py_asdl_expr_seq_new(len, arena);
10274 if (ifs == NULL) goto failed;
10287 PyErr_SetString(PyExc_RuntimeError, "comprehension field \"ifs\" changed size during iteration");
10290 asdl_seq_SET(ifs, i, val);
10311 *out = _PyAST_comprehension(target, iter, ifs, is_async, arena);