use "object" baseclass for unspecified superclasses

This commit is contained in:
Josh Holtrop committed 2011-09-08 15:29:51 -04:00
1 parent fe5af49b39
commit 701b7db7ba
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ from shapes import *
from constraints import *
from Sketch import *
class SketchWidget:
class SketchWidget(object):
def __init__(self, sketch, window):
self.sketch = sketch
self.window = window
+1 -1
View File
@@ -5,7 +5,7 @@ from Sketch import Sketch
from SampleSketch import SampleSketch
from SketchWidget import SketchWidget
class Window:
class Window(object):
def __init__(self, title):
self.mode_buttons_to_names = {}
self.mode_names_to_buttons = {}