Searched defs:TryFinally (Results 1 - 4 of 4) sorted by relevance
/external/python/cpython2/Tools/pybench/ |
H A D | With.py | 50 class TryFinally(Test): class in inherits:Test
|
/external/python/cpython2/Lib/compiler/ |
H A D | ast.py | 1294 class TryFinally(Node): class in inherits:Node 1307 return "TryFinally(%s, %s)" % (repr(self.body), repr(self.final))
|
/external/python/cpython2/Include/ |
H A D | Python-ast.h | 151 } TryFinally; member in union:_stmt::__anon17306 423 #define TryFinally(a0, a1, a2, a3, a4) _Py_TryFinally(a0, a1, a2, a3, a4) macro
|
/external/python/cpython2/Python/ |
H A D | Python-ast.c | 717 TryFinally_type = make_type("TryFinally", stmt_type, TryFinally_fields, 1318 TryFinally(asdl_seq * body, asdl_seq * finalbody, int lineno, int col_offset, function 1326 p->v.TryFinally.body = body; 1327 p->v.TryFinally.finalbody = finalbody; 2445 value = ast2obj_list(o->v.TryFinally.body, ast2obj_stmt); 2450 value = ast2obj_list(o->v.TryFinally.finalbody, ast2obj_stmt); 4450 PyErr_Format(PyExc_TypeError, "TryFinally field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); 4461 PyErr_SetString(PyExc_RuntimeError, "TryFinally field \"body\" changed size during iteration"); 4469 PyErr_SetString(PyExc_TypeError, "required field \"body\" missing from TryFinally"); 4479 PyErr_Format(PyExc_TypeError, "TryFinally fiel [all...] |
Completed in 263 milliseconds