Home
last modified time | relevance | path

Searched refs:tb_lineno (Results 1 – 19 of 19) sorted by relevance

/third_party/python/Python/clinic/
Dtraceback.c.h13 int tb_lasti, int tb_lineno);
27 int tb_lineno; in tb_new() local
43 tb_lineno = _PyLong_AsInt(fastargs[3]); in tb_new()
44 if (tb_lineno == -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/Python/
Dtraceback.c54 tb->tb_lineno = lineno; in tb_create_raw()
74 int tb_lasti, int tb_lineno) in tb_new_impl() argument
86 tb_lineno); in tb_new_impl()
153 {"tb_lineno", T_INT, OFF(tb_lineno), READONLY},
567 last_line == -1 || tb->tb_lineno != last_line || in tb_printinternal()
573 last_line = tb->tb_lineno; in tb_printinternal()
579 err = tb_displayline(f, code->co_filename, tb->tb_lineno, in tb_printinternal()
/third_party/python/Include/cpython/
Dtraceback.h10 int tb_lineno; member
/third_party/python/Lib/test/
Dtest_raise.py245 self.assertIsInstance(tb.tb_lineno, int)
279 self.assertEqual(tb.tb_lineno, 2)
/third_party/jinja2/
Ddebug.py58 lineno = template.get_corresponding_lineno(tb.tb_lineno)
/third_party/skia/third_party/externals/jinja2/
Ddebug.py59 lineno = template.get_corresponding_lineno(tb.tb_lineno)
/third_party/python/Lib/
Dpdb.py154 self.tb_lineno = {}
205 self.tb_lineno.clear()
215 self.tb_lineno[tb.tb_frame] = lineno
1298 exc_lineno = self.tb_lineno.get(frame, -1)
Dasyncore.py549 str(tb.tb_lineno)
Dtraceback.py329 yield tb.tb_frame, tb.tb_lineno
Dbdb.py545 stack.append((t.tb_frame, t.tb_lineno))
Dinspect.py1618 lineno = frame.tb_lineno
/third_party/python/Lib/idlelib/
Dstackviewer.py35 stack.append((tb.tb_frame, tb.tb_lineno))
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py182 lineno = template.get_corresponding_lineno(tb.tb_lineno)
/third_party/python/Doc/library/
Dtraceback.rst433 print("*** tb_lineno:", exc_traceback.tb_lineno)
474 *** tb_lineno: 10
Dtypes.rst321 .. class:: TracebackType(tb_next, tb_frame, tb_lasti, tb_lineno)
Dinspect.rst115 | | tb_lineno | current line number in |
/third_party/python/Lib/test/test_asyncio/
Dtest_tasks.py2481 tb_lineno = sys._getframe().f_lineno + 2
2498 re.escape(tb_filename), tb_lineno))
/third_party/python/Doc/reference/
Ddatamodel.rst1115 single: tb_lineno (traceback attribute)
1121 :attr:`tb_lineno` gives the line number where the exception occurred;
/third_party/python/Misc/
DHISTORY29556 Also rewrite tb_lineno() to be compatible with JPython (and not
30438 - The traceback.py module has a new function tb_lineno() by Marc-Andre
30442 on or off, the module itself uses tb_lineno() unconditionally.