Home
last modified time | relevance | path

Searched refs:finalbody (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Include/internal/
Dpycore_ast_state.h186 PyObject *finalbody; member
Dpycore_ast.h295 asdl_stmt_seq *finalbody; member
688 asdl_stmt_seq * orelse, asdl_stmt_seq * finalbody, int
/third_party/python/Python/
Dast.c799 !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()
DPython-ast.c200 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 …]
Dast_opt.c744 CALL_SEQ(astfold_stmt, stmt, node_->v.Try.finalbody); in astfold_stmt()
Dcompile.c1713 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()
Dsymtable.c1345 VISIT_SEQ(st, stmt, s->v.Try.finalbody); in symtable_visit_stmt()
/third_party/python/Parser/
DPython.asdl42 | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)
/third_party/python/Lib/
Dast.py963 if node.finalbody:
966 self.traverse(node.finalbody)
/third_party/python/Doc/library/
Dast.rst1124 .. class:: Try(body, handlers, orelse, finalbody)
1164 finalbody=[
1200 finalbody=[])],