summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/Wbase.py
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-11-02 19:09:34 (GMT)
committerJust van Rossum <just@letterror.com>2001-11-02 19:09:34 (GMT)
commit2e9e71fea6afbe1fc55c9425539bf34e7f9948cd (patch)
tree89011303d05fb7ea51c15b50da0480dd2e65d66f /Mac/Tools/IDE/Wbase.py
parent8a0232d84fcc3317e31f7c4cad5c1d34a3c16f10 (diff)
downloadcpython-2e9e71fea6afbe1fc55c9425539bf34e7f9948cd.zip
cpython-2e9e71fea6afbe1fc55c9425539bf34e7f9948cd.tar.gz
cpython-2e9e71fea6afbe1fc55c9425539bf34e7f9948cd.tar.bz2
rearranged some imports
Diffstat (limited to 'Mac/Tools/IDE/Wbase.py')
-rw-r--r--Mac/Tools/IDE/Wbase.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/Mac/Tools/IDE/Wbase.py b/Mac/Tools/IDE/Wbase.py
index 764c131..be75d8a 100644
--- a/Mac/Tools/IDE/Wbase.py
+++ b/Mac/Tools/IDE/Wbase.py
@@ -1,15 +1,13 @@
-from Carbon import Qd
-from Carbon import Win
-from Carbon import QuickDraw
-from Carbon import Evt
+from Carbon import Evt, Qd, QuickDraw, Win
import string
from types import *
import sys
-WidgetsError = "WidgetsError"
+class WidgetsError(Exception): pass
DEBUG = 0
+
class Widget:
"""Base class for all widgets."""