Searched refs:tb_lasti (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Python/clinic/ |
D | traceback.c.h | 13 int tb_lasti, int tb_lineno); 26 int tb_lasti; in tb_new() local 39 tb_lasti = _PyLong_AsInt(fastargs[2]); in tb_new() 40 if (tb_lasti == -1 && PyErr_Occurred()) { in tb_new() 47 return_value = tb_new_impl(type, tb_next, tb_frame, tb_lasti, tb_lineno); in tb_new()
|
/third_party/python/Include/cpython/ |
D | traceback.h | 9 int tb_lasti; member
|
/third_party/python/Python/ |
D | traceback.c | 53 tb->tb_lasti = lasti; in tb_create_raw() 74 int tb_lasti, int tb_lineno) in tb_new_impl() argument 85 return tb_create_raw((PyTracebackObject *)tb_next, tb_frame, tb_lasti, in tb_new_impl() 152 {"tb_lasti", T_INT, OFF(tb_lasti), READONLY},
|
/third_party/python/Lib/test/ |
D | test_raise.py | 244 self.assertIsInstance(tb.tb_lasti, int) 278 self.assertEqual(tb.tb_lasti, 1)
|
D | test_dis.py | 678 tb_dis = self.get_disassemble_as_string(tb.tb_frame.f_code, tb.tb_lasti) 1242 self.assertEqual(b.current_offset, tb.tb_lasti)
|
/third_party/python/Lib/ |
D | dis.py | 96 disassemble(tb.tb_frame.f_code, tb.tb_lasti, file=file) 503 return cls(tb.tb_frame.f_code, current_offset=tb.tb_lasti)
|
D | pdb.py | 214 lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti)
|
/third_party/python/Doc/library/ |
D | types.rst | 321 .. class:: TracebackType(tb_next, tb_frame, tb_lasti, tb_lineno)
|
D | inspect.rst | 112 | | tb_lasti | index of last attempted |
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 1116 single: tb_lasti (traceback attribute) 1122 :attr:`tb_lasti` indicates the precise instruction.
|