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

Method _cmdloop

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

Source from the content-addressed store, hash-verified

322
323 # General interaction function
324 def _cmdloop(self):
325 while True:
326 try:
327 # keyboard interrupts allow for an easy way to cancel
328 # the current command, so allow them during interactive input
329 self.allow_kbdint = True
330 self.cmdloop()
331 self.allow_kbdint = False
332 break
333 except KeyboardInterrupt:
334 self.message('--KeyboardInterrupt--')
335
336 # Called before loop, handles display expressions
337 def preloop(self):

Callers 2

bp_commandsMethod · 0.95
interactionMethod · 0.95

Calls 2

messageMethod · 0.95
cmdloopMethod · 0.80

Tested by

no test coverage detected