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

Method ask_yes_no

IPython/core/interactiveshell.py:3631–3634  ·  view source on GitHub ↗
(self, prompt, default=None, interrupt=None)

Source from the content-addressed store, hash-verified

3629 sys.stderr.write(data)
3630
3631 def ask_yes_no(self, prompt, default=None, interrupt=None):
3632 if self.quiet:
3633 return True
3634 return ask_yes_no(prompt,default,interrupt)
3635
3636 def show_usage(self):
3637 """Show a usage message"""

Callers 6

interactMethod · 0.80
historyMethod · 0.80
saveMethod · 0.80
loadMethod · 0.80
resetMethod · 0.80
reset_selectiveMethod · 0.80

Calls 1

ask_yes_noFunction · 0.90

Tested by

no test coverage detected