Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ return_event
Method
return_event
Lib/tkinter/simpledialog.py:75–79 ·
view source on GitHub ↗
(self, event)
Source
from the content-addressed store, hash-verified
73
return
self.num
74
75
def
return_event(self, event):
76
if
self.default is None:
77
self.root.bell()
78
else
:
79
self.done(self.default)
80
81
def
wm_delete_window(self):
82
if
self.cancel is None:
Callers
nothing calls this directly
Calls
2
done
Method · 0.95
bell
Method · 0.45
Tested by
no test coverage detected