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

Method _prompt_for_confirmation

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

Source from the content-addressed store, hash-verified

1677 complete_ignore = _complete_bpnumber
1678
1679 def _prompt_for_confirmation(self, prompt, default):
1680 try:
1681 reply = input(prompt)
1682 except EOFError:
1683 reply = default
1684 return reply.strip().lower()
1685
1686 def do_clear(self, arg):
1687 """cl(ear) [filename:lineno | bpnumber ...]

Callers 1

do_clearMethod · 0.95

Calls 3

inputFunction · 0.85
lowerMethod · 0.45
stripMethod · 0.45

Tested by

no test coverage detected