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

Method ok

Lib/idlelib/config_key.py:338–341  ·  view source on GitHub ↗
(self, event=None)

Source from the content-addressed store, hash-verified

336 self.frame.result = value
337
338 def ok(self, event=None):
339 self.frame.ok()
340 self.grab_release()
341 self.destroy()
342
343 def cancel(self, event=None):
344 self.result = ''

Callers

nothing calls this directly

Calls 3

grab_releaseMethod · 0.80
okMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected