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

Method push_error_handler

mypyc/irbuild/ll_builder.py:356–357  ·  view source on GitHub ↗
(self, handler: BasicBlock | None)

Source from the content-addressed store, hash-verified

354 self.keep_alive([ptr], line)
355
356 def push_error_handler(self, handler: BasicBlock | None) -> None:
357 self.error_handlers.append(handler)
358
359 def pop_error_handler(self) -> BasicBlock | None:
360 return self.error_handlers.pop()

Callers 6

gen_returnMethod · 0.80
transform_try_exceptFunction · 0.80
try_finally_tryFunction · 0.80
try_finally_bodyFunction · 0.80

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected