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

Method validate

Lib/tkinter/simpledialog.py:213–220  ·  view source on GitHub ↗

validate the data This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK.

(self)

Source from the content-addressed store, hash-verified

211 # command hooks
212
213 def validate(self):
214 '''validate the data
215
216 This method is called automatically to validate the data before the
217 dialog is destroyed. By default, it always validates OK.
218 '''
219
220 return 1 # override
221
222 def apply(self):
223 '''process the data

Callers 1

okMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected