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

Method ask_save_dialog

Lib/idlelib/runscript.py:196–202  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

194 return filename
195
196 def ask_save_dialog(self):
197 msg = "Source Must Be Saved\n" + 5*' ' + "OK to Save?"
198 confirm = messagebox.askokcancel(title="Save Before Run or Check",
199 message=msg,
200 default=messagebox.OK,
201 parent=self.editwin.text)
202 return confirm
203
204 def errorbox(self, title, message):
205 # XXX This should really be a function of EditorWindow...

Callers 1

getfilenameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected