MCPcopy Index your code
hub / github.com/ipython/ipython / ask_yes_no

Method ask_yes_no

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

Source from the content-addressed store, hash-verified

3960 return filename
3961
3962 def ask_yes_no(self, prompt, default=None, interrupt=None):
3963 if self.quiet:
3964 return True
3965 return ask_yes_no(prompt,default,interrupt)
3966
3967 def show_usage(self):
3968 """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