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

Function askyesno

Lib/tkinter/messagebox.py:112–115  ·  view source on GitHub ↗

Ask a question; return true if the answer is yes

(title=None, message=None, **options)

Source from the content-addressed store, hash-verified

110
111
112def askyesno(title=None, message=None, **options):
113 "Ask a question; return true if the answer is yes"
114 s = _show(title, message, QUESTION, YESNO, **options)
115 return s == YES
116
117
118def askyesnocancel(title=None, message=None, **options):

Callers 2

toggle_tabs_eventMethod · 0.90
messagebox.pyFile · 0.85

Calls 1

_showFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…