MCPcopy Create free account
hub / github.com/ipython/ipython / _cmdloop

Method _cmdloop

IPython/core/debugger.py:793–804  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

791 raise
792
793 def _cmdloop(self):
794 while True:
795 try:
796 # keyboard interrupts allow for an easy way to cancel
797 # the current command, so allow them during interactive input
798 self.allow_kbdint = True
799 self.cmdloop()
800 self.allow_kbdint = False
801 break
802 except KeyboardInterrupt:
803 self.message('--KeyboardInterrupt--')
804 raise
805
806
807def set_trace(frame=None):

Callers

nothing calls this directly

Calls 1

cmdloopMethod · 0.95

Tested by

no test coverage detected