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

Method _cmdloop

Lib/pdb.py:628–638  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

626
627 # General interaction function
628 def _cmdloop(self):
629 while True:
630 try:
631 # keyboard interrupts allow for an easy way to cancel
632 # the current command, so allow them during interactive input
633 self.allow_kbdint = True
634 self.cmdloop()
635 self.allow_kbdint = False
636 break
637 except KeyboardInterrupt:
638 self.message('--KeyboardInterrupt--')
639
640 def _save_initial_file_mtime(self, frame):
641 """save the mtime of the all the files in the frame stack in the file mtime table

Callers 1

interactionMethod · 0.95

Calls 2

messageMethod · 0.95
cmdloopMethod · 0.45

Tested by

no test coverage detected