summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/waste
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/waste
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/waste')
-rw-r--r--Mac/Demo/waste/htmled.py2
-rw-r--r--Mac/Demo/waste/swed.py2
-rw-r--r--Mac/Demo/waste/wed.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Demo/waste/htmled.py b/Mac/Demo/waste/htmled.py
index 15b9035..e56b607 100644
--- a/Mac/Demo/waste/htmled.py
+++ b/Mac/Demo/waste/htmled.py
@@ -730,7 +730,7 @@ class Wed(Application):
w.close()
if self._windows:
return
- raise self
+ self._quit()
#
# Edit menu
diff --git a/Mac/Demo/waste/swed.py b/Mac/Demo/waste/swed.py
index dc5de6a..8107434 100644
--- a/Mac/Demo/waste/swed.py
+++ b/Mac/Demo/waste/swed.py
@@ -558,7 +558,7 @@ class Wed(Application):
w.close()
if self._windows:
return
- raise self
+ self._quit()
#
# Edit menu
diff --git a/Mac/Demo/waste/wed.py b/Mac/Demo/waste/wed.py
index d4f08f4..6ddb79b 100644
--- a/Mac/Demo/waste/wed.py
+++ b/Mac/Demo/waste/wed.py
@@ -368,7 +368,7 @@ class Wed(Application):
w.close()
if self._windows:
return
- raise self
+ self._quit()
#
# Edit menu