mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Calling Application._quit() is now preferred over raising self.
This commit is contained in:
parent
4cb945454a
commit
ef5cd05c3d
11 changed files with 14 additions and 20 deletions
|
@ -51,7 +51,7 @@ class InterslipControl(FrameWork.Application):
|
|||
self.quititem = FrameWork.MenuItem(m, "Quit", "Q", self.quit)
|
||||
|
||||
def quit(self, *args):
|
||||
raise self
|
||||
self._quit()
|
||||
|
||||
def do_about(self, *args):
|
||||
f = Dlg.GetNewDialog(ID_ABOUT, -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue