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

Method set_quit

Lib/bdb.py:648–656  ·  view source on GitHub ↗

Set quitting attribute to True. Raises BdbQuit exception in the next call to a dispatch_*() method.

(self)

Source from the content-addressed store, hash-verified

646 self.frame_trace_lines_opcodes = {}
647
648 def set_quit(self):
649 """Set quitting attribute to True.
650
651 Raises BdbQuit exception in the next call to a dispatch_*() method.
652 """
653 self.stopframe = self.botframe
654 self.returnframe = None
655 self.quitting = True
656 self.stop_trace()
657
658 # Derived classes and clients can call the following methods
659 # to manipulate breakpoints. These methods return an

Callers 2

do_quitMethod · 0.80
do_EOFMethod · 0.80

Calls 1

stop_traceMethod · 0.95

Tested by

no test coverage detected