Searched refs:finalbody (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Include/internal/ |
D | pycore_ast_state.h | 186 PyObject *finalbody; member
|
D | pycore_ast.h | 295 asdl_stmt_seq *finalbody; member 688 asdl_stmt_seq * orelse, asdl_stmt_seq * finalbody, int
|
/third_party/python/Python/ |
D | ast.c | 799 !asdl_seq_LEN(stmt->v.Try.finalbody)) { in validate_stmt() 815 ret = (!asdl_seq_LEN(stmt->v.Try.finalbody) || in validate_stmt() 816 validate_stmts(state, stmt->v.Try.finalbody)) && in validate_stmt()
|
D | Python-ast.c | 200 Py_CLEAR(state->finalbody); in _PyAST_Fini() 303 if ((state->finalbody = PyUnicode_InternFromString("finalbody")) == NULL) return 0; in init_identifiers() 2360 asdl_stmt_seq * orelse, asdl_stmt_seq * finalbody, int lineno, int in _PyAST_Try() argument 2371 p->v.Try.finalbody = finalbody; in _PyAST_Try() 4042 value = ast2obj_list(state, (asdl_seq*)o->v.Try.finalbody, in ast2obj_stmt() 4045 if (PyObject_SetAttr(result, state->finalbody, value) == -1) in ast2obj_stmt() 7322 asdl_stmt_seq* finalbody; in obj2ast_stmt() local 7435 if (_PyObject_LookupAttr(obj, state->finalbody, &tmp) < 0) { in obj2ast_stmt() 7451 finalbody = _Py_asdl_stmt_seq_new(len, arena); in obj2ast_stmt() 7452 if (finalbody == NULL) goto failed; in obj2ast_stmt() [all …]
|
D | ast_opt.c | 744 CALL_SEQ(astfold_stmt, stmt, node_->v.Try.finalbody); in astfold_stmt()
|
D | compile.c | 1713 find_ann(st->v.Try.finalbody) || in find_ann() 3106 if (!compiler_push_fblock(c, FINALLY_TRY, body, end, s->v.Try.finalbody)) in compiler_try_finally() 3117 VISIT_SEQ(c, stmt, s->v.Try.finalbody); in compiler_try_finally() 3123 VISIT_SEQ(c, stmt, s->v.Try.finalbody); in compiler_try_finally() 3285 if (s->v.Try.finalbody && asdl_seq_LEN(s->v.Try.finalbody)) in compiler_try()
|
D | symtable.c | 1345 VISIT_SEQ(st, stmt, s->v.Try.finalbody); in symtable_visit_stmt()
|
/third_party/python/Parser/ |
D | Python.asdl | 42 | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)
|
/third_party/python/Lib/ |
D | ast.py | 963 if node.finalbody: 966 self.traverse(node.finalbody)
|
/third_party/python/Doc/library/ |
D | ast.rst | 1124 .. class:: Try(body, handlers, orelse, finalbody) 1164 finalbody=[ 1200 finalbody=[])],
|