use "object" baseclass for unspecified superclasses
This commit is contained in:
parent
fe5af49b39
commit
701b7db7ba
@ -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
|
||||||
|
@ -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 = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user