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

Method _prompt_for_confirmation

Lib/pdb.py:3058–3062  ·  view source on GitHub ↗
(self, prompt, default)

Source from the content-addressed store, hash-verified

3056
3057 @typing.override
3058 def _prompt_for_confirmation(self, prompt, default):
3059 try:
3060 return self._get_input(prompt=prompt, state="confirm")
3061 except (EOFError, KeyboardInterrupt):
3062 return default
3063
3064 def do_run(self, arg):
3065 self.error("remote PDB cannot restart the program")

Callers

nothing calls this directly

Calls 1

_get_inputMethod · 0.95

Tested by

no test coverage detected