MCPcopy Index your code
hub / github.com/python/cpython / _error

Function _error

Lib/test/test_dis.py:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24def get_tb():
25 def _error():
26 try:
27 1 / 0
28 except Exception as e:
29 tb = e.__traceback__
30 return tb
31
32 tb = _error()
33 while tb.tb_next:

Callers 1

get_tbFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…