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