summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/imgbrowse
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-09-17 12:39:12 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-09-17 12:39:12 (GMT)
commitef5cd05c3d68137a59a84acd418342532e3940c6 (patch)
tree544f8c9b00c6eae068d570ccd5f4025b6c242dd9 /Mac/Demo/imgbrowse
parent4cb945454a91188823fd289a13e417bdd20050e2 (diff)
downloadcpython-ef5cd05c3d68137a59a84acd418342532e3940c6.zip
cpython-ef5cd05c3d68137a59a84acd418342532e3940c6.tar.gz
cpython-ef5cd05c3d68137a59a84acd418342532e3940c6.tar.bz2
Calling Application._quit() is now preferred over raising self.
Diffstat (limited to 'Mac/Demo/imgbrowse')
-rw-r--r--Mac/Demo/imgbrowse/imgbrowse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/imgbrowse/imgbrowse.py b/Mac/Demo/imgbrowse/imgbrowse.py
index 56d6d31..ff778bf 100644
--- a/Mac/Demo/imgbrowse/imgbrowse.py
+++ b/Mac/Demo/imgbrowse/imgbrowse.py
@@ -81,7 +81,7 @@ class imgbrowse(FrameWork.Application):
self.quititem = FrameWork.MenuItem(m, "Quit", "Q", self.quit)
def quit(self, *args):
- raise self
+ self._quit()
def opendoc(self, *args):
fss, ok = macfs.StandardGetFile() # Any file type