@@ -99,24 +99,24 @@ def showerror(title=None, message=None, **options):
9999
100100
101101def askquestion (title = None , message = None , ** options ):
102- "Ask a question"
102+ "Ask a question; return the symbolic name of the selected button "
103103 return _show (title , message , QUESTION , YESNO , ** options )
104104
105105
106106def askokcancel (title = None , message = None , ** options ):
107- "Ask if operation should proceed; return true if the answer is ok"
107+ "Ask if operation should proceed; return True if the answer is ok"
108108 s = _show (title , message , QUESTION , OKCANCEL , ** options )
109109 return s == OK
110110
111111
112112def askyesno (title = None , message = None , ** options ):
113- "Ask a question; return true if the answer is yes"
113+ "Ask a question; return True if the answer is yes"
114114 s = _show (title , message , QUESTION , YESNO , ** options )
115115 return s == YES
116116
117117
118118def askyesnocancel (title = None , message = None , ** options ):
119- "Ask a question; return true if the answer is yes, None if cancelled. "
119+ "Ask a question; return True if the answer is yes, None if cancelled"
120120 s = _show (title , message , QUESTION , YESNOCANCEL , ** options )
121121 # s might be a Tcl index object, so convert it to a string
122122 s = str (s )
@@ -126,7 +126,7 @@ def askyesnocancel(title=None, message=None, **options):
126126
127127
128128def askretrycancel (title = None , message = None , ** options ):
129- "Ask if operation should be retried; return true if the answer is yes "
129+ "Ask if operation should be retried; return True if the answer is retry "
130130 s = _show (title , message , WARNING , RETRYCANCEL , ** options )
131131 return s == RETRY
132132
0 commit comments