Searched refs:AsyncWith (Results 1 - 5 of 5) sorted by relevance

/external/python/cpython3/Include/
H A DPython-ast.h161 } AsyncWith; member in union:_stmt::__anon19720
491 #define AsyncWith(a0, a1, a2, a3, a4) _Py_AsyncWith(a0, a1, a2, a3, a4) macro
/external/python/cpython3/Python/
H A Dast.c440 if (!validate_nonempty_seq(stmt->v.AsyncWith.items, "items", "AsyncWith"))
442 for (i = 0; i < asdl_seq_LEN(stmt->v.AsyncWith.items); i++) {
443 withitem_ty item = asdl_seq_GET(stmt->v.AsyncWith.items, i);
448 return validate_body(stmt->v.AsyncWith.body, "AsyncWith");
3900 return AsyncWith(items, body, LINENO(n), n->n_col_offset, c->c_arena);
H A Dsymtable.c1372 VISIT_SEQ(st, withitem, s->v.AsyncWith.items);
1373 VISIT_SEQ(st, stmt, s->v.AsyncWith.body);
H A Dcompile.c1406 res = find_ann(st->v.AsyncWith.body);
4106 withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos);
4140 if (pos == asdl_seq_LEN(s->v.AsyncWith.items))
4142 VISIT_SEQ(c, stmt, s->v.AsyncWith.body)
H A DPython-ast.c898 AsyncWith_type = make_type("AsyncWith", stmt_type, AsyncWith_fields, 2);
1566 AsyncWith(asdl_seq * items, asdl_seq * body, int lineno, int col_offset, function
1574 p->v.AsyncWith.items = items;
1575 p->v.AsyncWith.body = body;
2912 value = ast2obj_list(o->v.AsyncWith.items, ast2obj_withitem);
2917 value = ast2obj_list(o->v.AsyncWith.body, ast2obj_stmt);
5146 PyErr_Format(PyExc_TypeError, "AsyncWith field \"items\" must be a list, not a %.200s", tmp->ob_type->tp_name);
5157 PyErr_SetString(PyExc_RuntimeError, "AsyncWith field \"items\" changed size during iteration");
5164 PyErr_SetString(PyExc_TypeError, "required field \"items\" missing from AsyncWith");
5174 PyErr_Format(PyExc_TypeError, "AsyncWith fiel
[all...]

Completed in 204 milliseconds