use "object" baseclass for unspecified superclasses

This commit is contained in:
Josh Holtrop 2011-09-08 15:29:51 -04:00
parent fe5af49b39
commit 701b7db7ba
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ from shapes import *
from constraints import * from constraints import *
from Sketch import * from Sketch import *
class SketchWidget: class SketchWidget(object):
def __init__(self, sketch, window): def __init__(self, sketch, window):
self.sketch = sketch self.sketch = sketch
self.window = window self.window = window

View File

@ -5,7 +5,7 @@ from Sketch import Sketch
from SampleSketch import SampleSketch from SampleSketch import SampleSketch
from SketchWidget import SketchWidget from SketchWidget import SketchWidget
class Window: class Window(object):
def __init__(self, title): def __init__(self, title):
self.mode_buttons_to_names = {} self.mode_buttons_to_names = {}
self.mode_names_to_buttons = {} self.mode_names_to_buttons = {}