MCPcopy Index your code
hub / github.com/python/mypy / get_sys_exc_info

Function get_sys_exc_info

mypyc/irbuild/statement.py:1089–1092  ·  view source on GitHub ↗
(builder: IRBuilder)

Source from the content-addressed store, hash-verified

1087
1088
1089def get_sys_exc_info(builder: IRBuilder) -> list[Value]:
1090 line = builder.fn_info.fitem.line
1091 exc_info = builder.call_c(get_exc_info_op, [], line)
1092 return [builder.add(TupleGet(exc_info, i, line)) for i in range(3)]
1093
1094
1095def transform_with(

Callers 1

maybe_natively_call_exitFunction · 0.85

Calls 4

TupleGetClass · 0.90
rangeClass · 0.85
call_cMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…