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

Method set_quit

Lib/bdb.py:639–647  ·  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

637 self.frame_trace_lines_opcodes = {}
638
639 def set_quit(self):
640 """Set quitting attribute to True.
641
642 Raises BdbQuit exception in the next call to a dispatch_*() method.
643 """
644 self.stopframe = self.botframe
645 self.returnframe = None
646 self.quitting = True
647 self.stop_trace()
648
649 # Derived classes and clients can call the following methods
650 # to manipulate breakpoints. These methods return an

Callers 1

do_quitMethod · 0.45

Calls 1

stop_traceMethod · 0.95

Tested by

no test coverage detected