Searched refs:withitem (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Parser/ |
D | Python.asdl | 36 | With(withitem* items, stmt* body, string? type_comment) 37 | AsyncWith(withitem* items, stmt* body, string? type_comment) 122 withitem = (expr context_expr, expr? optional_vars)
|
/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/ |
D | anf.py | 196 if isinstance(node, (gast.Starred, gast.withitem, gast.slice)):
|
/external/python/cpython3/Lib/test/ |
D | test_ast.py | 660 self.assertEqual(ast.withitem.__doc__, "withitem(expr context_expr, expr? optional_vars)") 1183 i = ast.withitem(ast.Num(3), None) 1185 i = ast.withitem(ast.Name("x", ast.Store()), None) 1187 i = ast.withitem(ast.Num(3), ast.Name("x", ast.Load()))
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | cfg.py | 89 elif isinstance(self.ast_node, gast.withitem):
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 1200 A ``with`` block. ``items`` is a list of :class:`withitem` nodes representing 1208 .. class:: withitem(context_expr, optional_vars) 1225 withitem( 1228 withitem(
|
/external/python/cpython3/Python/ |
D | symtable.c | 1393 VISIT_SEQ(st, withitem, s->v.With.items); in symtable_visit_stmt() 1420 VISIT_SEQ(st, withitem, s->v.AsyncWith.items); in symtable_visit_stmt()
|
D | ast.c | 4272 return withitem(context_expr, optional_vars, c->c_arena); in ast_for_with_item()
|
D | Python-ast.c | 3340 withitem(expr_ty context_expr, expr_ty optional_vars, PyArena *arena) in withitem() function 9565 *out = withitem(context_expr, optional_vars, arena); in obj2ast_withitem()
|
/external/python/cpython3/Include/ |
D | Python-ast.h | 683 #define withitem(a0, a1, a2) _Py_withitem(a0, a1, a2) macro
|