MCPcopy Index your code
hub / github.com/RustPython/RustPython / sigint_handler

Method sigint_handler

Lib/pdb.py:197–202  ·  view source on GitHub ↗
(self, signum, frame)

Source from the content-addressed store, hash-verified

195 super().set_trace(frame)
196
197 def sigint_handler(self, signum, frame):
198 if self.allow_kbdint:
199 raise KeyboardInterrupt
200 self.message("\nProgram interrupted. (Use 'cont' to resume).")
201 self.set_step()
202 self.set_trace(frame)
203
204 def reset(self):
205 bdb.Bdb.reset(self)

Callers

nothing calls this directly

Calls 3

messageMethod · 0.95
set_traceMethod · 0.95
set_stepMethod · 0.80

Tested by

no test coverage detected